Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Use WMI and PowerShell to Work with Services

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to work with services. Microsoft Scripting Guy, Ed Wilson, is here. It is that time of the year. I just spent the last couple of hours uninstalling useless software from my laptop. This includes stuff that I intentionally installed and junk that becomes ...

PowerTip: Find “Hidden” Property Values in PowerShell

Summary: Learn how to find some missing property values in Windows PowerShell. (image)  How can I find missing property values in the process information I am looking at in Windows PowerShell? (image)  Launch Windows PowerShell with Admin rights (hold down the Shift key, right-click the Windows PowerShell icon,      &...

Comparing WMI and Native PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, talks about comparing WMI and using native Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. When Windows PowerShell was still in beta, there was a saying (song?) that said there must be 50 ways to stop a process. Actually, I am not certain it was ever turned into a Windows PowerShell...

When to Use WMI and PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, talks about when to use WMI. Microsoft Scripting Guy, Ed Wilson, is here. One of the things that Windows PowerShell has done is make WMI very easy to use. Beginning with Windows PowerShell 1.0 and the Get-WmiObject cmdlet, WMI information has become much easier to access. Whereas a simple ...