Showing results for Richard Siddaway - Scripting Blog [archived]

Feb 4, 2015
Post comments count0
Post likes count0

PowerTip: Override Modules in PowerShell Session

Doctor Scripto
Doctor Scripto

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

Windows PowerShellPowerTipRichard Siddaway
Feb 4, 2015
Post comments count0
Post likes count0

Registry Cmdlets: Advanced CDXML

Doctor Scripto
Doctor Scripto

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, which e...

Windows PowerShellregistryRichard Siddaway
Feb 3, 2015
Post comments count0
Post likes count0

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
Post comments count0
Post likes count0

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
Post comments count0
Post likes count0

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