Scripting Blog [archived]

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

Should I use CIM or WMI with Windows PowerShell?

Summary: Richard Siddaway explains the differences between the CIM cmdlets and the WMI cmdlets, and details use cases. (image)  Hey, Scripting Guy! Should I use the WMI cmdlets or the newer CIM cmdlets? —NR (image)  Hello NR, Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. The ...

Use Regions in PowerShell ISE

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using regions in the Windows PowerShell ISE. (image)  Hey, Scripting Guy! I like using the Windows PowerShell ISE. The price is right I guess. There is one thing that kind of bugs me, however.  When I am writing a long script, there is too much scrolling, and things seem to slow ...

Registry Cmdlets: Complete the Registry CDXML Module

Summary: Richard Siddaway shows how to complete the registry CDXML module. Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the final post in a series. To catch up, read: So far, you’ve seen how to create a CDXML module with a single cmdlet based on the GetStringValue...