Showing results for February 2015 - Page 11 of 12 - Scripting Blog [archived]

Feb 3, 2015
0
0

PowerTip: Use PowerShell to Find Parameters for CIM Class Method

Doctor Scripto
Doctor Scripto

Summary: Learn how to discover the parameters for a method in a CIM class. How can I find the parameters of a CIM class method, such as GetStringValue in the StdRegprov class? Use Get-CimClass to get the class:$class = Get-CimClass -ClassName StdRegProvTo view the methods:$class.CimClassMethodsTo view the par...

Windows PowerShellPowerTipregistry
Feb 3, 2015
0
0

Registry Cmdlets: First Steps with CDXML

Doctor Scripto
Doctor Scripto

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

Windows PowerShellregistryRichard Siddaway
Feb 2, 2015
0
0

PowerTip: Use PoweShell to Search for CIM Classes

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to search for CIM classes.  How can I use Windows PowerShell to find a CIM class on my machine?  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 –Recurse   &n...

Windows PowerShellPowerTipregistry
Feb 2, 2015
1
1

Registry Cmdlets: Working with the Registry

Doctor Scripto
Doctor Scripto

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

Windows PowerShellregistryRichard Siddaway
Feb 1, 2015
0
0

PowerTip: Back up GPOs with PowerShell

Doctor Scripto
Doctor Scripto

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

Scripting Guy!Windows PowerShellPowerTip