Showing results for April 2015 - Page 7 of 13 - Scripting Blog [archived]

Apr 16, 2015
Post comments count0
Post likes count0

Look at Schema of WMI Class with PowerShell

Doctor Scripto
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

PowerTip: Remove Type Data with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to remove type data by using Windows PowerShell.  How can I remove a custom type data that is producing an error message when I try to update it            in my Windows PowerShell session?  Use the Get-TypeData cmdlet to retrieve an instance of the type data, and pipe it to the&n...

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

Create Custom Type Data in PowerShell to Format WMI Display

Doctor Scripto
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

PowerTip: Use PowerShell to Find Cmdlets that Use CIM

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find cmdlets that use CIM.  I want to see what Windows PowerShell cmdlets will use a CIM session, but when I use Get-Command,            only a couple things return. How can I fix this?  Windows PowerShell automatically loads modules, but when looking for parameters, it...

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

Comparing CIM and WMI in PowerShell

Doctor Scripto
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