Scripting Blog [archived]

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

Registry Cmdlets: First Steps with CDXML

Summary: Richard Siddaway shows how to start creating CDXML cmdlets. Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the second post in a series. Yesterday, in Registry Cmdlets: Working with the Registry, I explained that there aren’t any cmdlets for working directly with the...

PowerTip: Use PoweShell to Search for CIM Classes

Summary: Learn how to use Windows PowerShell to search for CIM classes. (image)  How can I use Windows PowerShell to find a CIM class on my machine? (image)  Use Get-WmiObject in List mode. For instance, to find the class for working with the registry, use: Get-WmiObject -Namespace root -Class StdRegProv -List &...

Registry Cmdlets: Working with the Registry

Summary: Richard Siddaway investigates how to use CIM to manage the registry. Honorary Scripting Guy, Richard Siddaway, here filling in for my good friend The Scripting Guy. Today, I'm starting a series about registry cmdlets by investigating how to work with the registry. The bad news is that there aren’t any cmdlets for working with the ...

PowerTip: Back up GPOs with PowerShell

Summary: Use Windows PowerShell to back up all GPOs in a domain. (image)  How can I use Windows PowerShell to generate a backup of all Group Policy Objects in a domain? (image)  Use the Backup-GPO cmdlet from the Remote Server Administration Tools (RSAT).            Specify a name, path, domain...