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 ...
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:
Registry Cmdlets: Working with the Registry Registry Cmdlets: First Steps with CDXML
Yesterday, you saw that you can ...
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 ...
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...
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
&...