Scripting Blog [archived]

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

Weekend Scripter: Oh No! Oh Wait…PowerShell for the Win!

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to clean up an impossible document. Microsoft Scripting Guy, Ed Wilson, is here. Sometimes I just cringe. It is a reflex reaction born from many long (and at times, torturous) years in the IT field. I know, I should be able to get over it, and sometimes I ...

Combine PowerShell Remoting and CIM

Summary: Microsoft Scripting Guy, Ed Wilson, talks about combining Windows PowerShell remoting and CIM. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about Windows PowerShell is remoting. It is not a new feature. In fact, it was introduced in Windows PowerShell 2.0—a time that seems like eons ago. Really. That ...

PowerTip: Find WMI Parent Class with PowerShell

Summary: Use Windows PowerShell to easily find a WMI parent class. (image)  How can I use Windows PowerShell to find what parent class a particular WMI class derives from? (image)  Use the Get-CimClass cmdlet, and select the CimSuperClassName property, for example: (Get-Cimclass win32_bios).CimSuperClassName (...