About Me

I am certified Microsoft professional, a Microsoft MVP and an IT veteran with almost 20 years of experience, much of it spent as an IT consultant specializing in Windows server technologies. I work today as an independent author, trainer and consultant. I've co-authored or authored several books, courseware, and training videos on administrative scripting and automation. My latest book is Managing Active Directory with Windows PowerShel: TFM 2nd Ed.(SAPIEN Press 2011).
-
Please consider a donation if I've been of any help or assistance. Thank you.
Blog Sponsors
Category Archives: WMI
Friday Fun Perf Counters with Write-Progress
While working on my course for TrainSignal on managing Windows Servers with PowerShell, I came up with an interesting use of the Write-Progress cmdlet. I was working on the performance monitoring lesson and realized I could use Write-Progress as rudimentary … Continue reading
Posted in PowerShell, Scripting, WMI
Tagged Performance counter, PowerShell, video, WMI, Write-progress
Comments Off
Filter Left
When writing WMI queries expressions in Windows PowerShell, it is recommended to use WMI filtering, as opposed to getting objects and then filtering with Where-Object. I see expressions like this quite often: get-wmiobject win32_process -computer $c | where {$_.name -eq … Continue reading
Posted in Best Practices, Google Plus, PowerShell, WMI
Tagged filtering, PowerShell, WMI
Comments Off
Compress Files By Extension
I never seem to build my test virtual machines with enough disk space. Which means at some point I start dealing with space issues and resort to all sorts of hacks to buy myself a little time. One thing I … Continue reading
Posted in PowerShell, PowerShell v2.0, WMI
Tagged CIM_DATAFILE, PowerShell, Scriptng, WMI
7 Comments
Get Process Owner
I’ve been working on my second training course for Train Signal on managing Windows Server 2008 with Windows PowerShell, specifically the lesson on managing processes. I thought I’d share a little tidbit I worked out. In fact, I hope you’ll … Continue reading
Posted in PowerShell, Train Signal, Training, WMI
Tagged Get-WMIObkect. Get-ACL, PowerShell, WMI
3 Comments
Get Shared Resource
I was poking around WMI the other day in PowerShell and was intrigued by the Win32_Share class. This is a great way to find out what items are shared on a server such as printers and folders, although it’s not … Continue reading



