Tag Archives: WMI

The PowerShell Morning Report

I love how easy it is to manage computers with Windows PowerShell. It is a great reporting tool, but often I find people getting locked into one approach. I’m a big believer in flexibility and re-use and using objects in … Continue reading

Posted in PowerShell, Scripting, Windows 7, Windows Server, WMI | Tagged , , , , , | 3 Comments

WMI PowerShell Tricks for Windows Server…

WMI PowerShell Tricks for Windows Server Management* My first article for @petri_co_il on WMI PowerShell Tricks http://bit.ly/rx1YrD Get-WMIObject – PowerShell Tricks Windows Server Management Get-WMIObject in Windows Powershell makes it easier to utilize Windows Management Instrumentation (WMI) and makes managing … Continue reading

Posted in Google Plus, PowerShell, WMI | Tagged , | Leave a comment

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 , , , , | Leave a comment

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 , , | Leave a comment

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 , , , | 7 Comments