| PowerShellでHTMLファイルから画像のURLを取り出す 1 day ago by D.yamahata ワンライナーでできるのは便利。 なんとなく、もっと短くできそうな気がするけど、今の俺ではこの長さ。 正規表現の部分を変えれば、「zip」だけを返したりも出来る。ここでは、JPEG、GIF、PNG、BMPをマッチさせている。 抜きたかったHTMLでしかテストしてないから、上手くいかないサイトもあるかも。 Get-Content foo.html | % { if ( $_ -match "http://.*\.(jpg|jpeg|gif|png|bmp)" ) { $Matches .Values | % { $_ .Split( "`" ") | % { if ($_ -match " \.( ... 風待ち - kazemati.blogspot.com |
| Windows 2003 Print Log Parsing Script [PowerShell] 1 day ago by pcgeek86 Hello everyone, Since I’m not aware of any tools that visually log print server information, I wrote a script that parses the log entries from the system event log of a Windows 2003 print server. Apparently I never got around to posting this online, but I hope that someone is able to benefit from it ... Trevor Sullivan's Tech Room - trevorsullivan.wordpress.com · 2 references |
| Powershell: Gruppenmitgliedschaften (memberof) auflisten 1 day ago by Roland Das hier veröffentlichte Script, mit dem die Berechtigungen eines Users auf Postfächer ausgegeben werden können, ist noch unbefriedigend. Es werden zwar alle Postfächer ausgegeben, bei denen der User die Berechtigung “Vollzugriff” bzw. “Senden Als” hat, aber es fehlt noch etwas. Was, wenn der User n ... Rolands "Erinnermich" - roland-ehle.de · Rank: 144,353 · 1 reference |
| Создание локального пользователя и ... 1 day ago by Xaegr Недавно ко мне обратились с вопросом о странном поведении достаточно простой функции. Она создаёт локального пользователя с заданным именем и паролем, и должна возвращать в качестве результата объект с двумя свойствами: UserName и Password (Ну на самом деле функция была чуть сложнее, но нам интересн ... PowerShell и другие ... - xaegr.wordpress.com · Rank: 69,330 · 34 references |
| Example application exported by MDTAppExport 1 day ago by keithga Wanted to include at least one example of what a MDTAppExport.exe powershell script looks like. So for your review, I have included a sample for 7-zip. Link 7-zip.MDT.ps1 About 7-zip 7-zip is a popular file archiver that supports numerous file formats, and is available for free over the internet. Wh ... Xtreme Deployment - deployment.xtremeconsulting.com |
| New SSRS PowerShell Provider 1 day ago by Scott Saad Introduction A lot of the code that gets written for any software project can end up being for the supporting systems surrounding the end product. This can include build systems, tests, installers, deployment tools, etc. I’ve found that some of the greatest explorations in learning can be found by w ... saadware - blog.saadware.com · 2 references |
| Get Profiles 1 day ago by Jeffery Hicks Keith Hill posted a bit of PowerShell code a few days ago that piqued my interest. I knew that in PowerShell, the $profile variable would list your current profile. PS C:\> $profile C:\Users\Jeff\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 This is handy because it makes it easy to c ... The Lonely Administrator - jdhitsolutions.com/blog · Rank: 135,224 · 3 references |
| PowerShell: Query a windows machine Serial Number Remotely 1 day ago by Sitaram Pamarthi I have seen system administrators who feels bending the CPU box or rebooting the system are only ways to find out serial number of a machine. In situations where a remote systems serial is required, they do nothing but reaching that machine physically. Enough doing hard work and be smart, guys; here ... Sitaram's Windows Blog - sitaram-pamarthi.com |