The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
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, ...
Summary: Learn how to discover the parameters for a method in a CIM class.(image) How can I find the parameters of a CIM class method, such as GetStringValue in the StdRegprov class?(image) Use Get-CimClass to get the class:$class = Get-CimClass -ClassName StdRegProvTo view the methods:$class....
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.
(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 &...
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 ...