Scripting Blog [archived]

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

PowerTip: Use PowerShell to Display Registry Keys

Summary: Learn how to use Windows PowerShell to display registry keys. (image)  How can I use Windows PowerShell to provide a list of registry keys that I can filter, instead of using Regedit to search? (image)  Use the Get-ItemProperty cmdlet and point it to a specific registry hive. The following command looks for  ...

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

PowerTip: Override Modules in PowerShell Session

Summary: Learn how to override the modules you have imported into your Windows PowerShell session. (image)  How can I re-load the Windows PowerShell module that I am developing so I can test the changes at each            stage of development? (image)  By default, if you have a module loaded into to your...

Registry Cmdlets: Advanced CDXML

Summary: Richard Siddaway shows some advanced features in CDXML. Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the third post in a series. To catch up, read: Yesterday, you saw that you can create a Windows PowerShell cmdlet from the StdRegProv CIM class by using CDXML, ...