Showing tag results for scripting techniques

Apr 17, 2015
Post comments count0
Post likes count0

Combine PowerShell Remoting and CIM

Doctor Scripto

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 was b...

Scripting Guy!Windows PowerShellscripting techniques
Apr 16, 2015
Post comments count0
Post likes count0

PowerTip: Find WMI Parent Class with PowerShell

Doctor Scripto

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

Scripting Guy!Windows PowerShellscripting techniques
Apr 16, 2015
Post comments count0
Post likes count0

Look at Schema of WMI Class with PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to look at the schema of a WMI class. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about WMI is that it is largely self-describing. This means that I can use WMI and look at WMI. With the CIM cmdlets, this goes even a step further. For example, ...

Scripting Guy!Windows PowerShellscripting techniques
Apr 15, 2015
Post comments count0
Post likes count0

Create Custom Type Data in PowerShell to Format WMI Display

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about creating custom type data to control the way a WMI class displays.  Hey, Scripting Guy! Yesterday, you said you could create custom type data to control the way the Win32_Volume WMI class reports back. How would one go about doing that? I looked on the Internet, and to be honest, it look...

Scripting Guy!Windows PowerShellscripting techniques
Apr 14, 2015
Post comments count0
Post likes count0

Comparing CIM and WMI in PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about comparing CIM and Windows PowerShell.  Hey, Scripting Guy! When I query using a CIM function, I get back different stuff than when I query WMI. I don’t get it. Can you help? —BW  Hello BW, Microsoft Scripting Guy, Ed Wilson, is here. Yesterday in Working with Volumes in ...

Scripting Guy!Windows PowerShellscripting techniques