February 2017
Beginner
737 pages
15h 22m
English
We explored the basics of WMI and CIM; and yes, that was just the basics. After completing the XML topic, we will discuss cmdlet definition XML (CDXML), which is used to map the PowerShell cmdlets, and the CIM class operations or methods.
I have seen most developers create XML files using Visual Studio and use some tools to compare XML. It's not a wrong method, but we have a much more convenient way to play with XML using PowerShell.
XML is the type accelerator for System.Xml.Document.
To explore all the type accelerators in Windows PowerShell, use the following code:
[psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::get
Let's take a look at the basic structure of an XML document:
<?xml version="1.0" ...Read now
Unlock full access