CDXML schema checks

PowerShell v3 introduced CDXML modules. Cmdlet Definition XML wraps a CIM class in XML to create a module. The methods of the CIM class can be used to generate additional cmdlets for the module. Many of the modules introduced with Windows 8 – including the networking and storage modules – are created in this manner though producing modules in this manner hasn’t caught on with this concept. The PowerShell 6.x releases didn’t check the XML of the CDXML modules against the CDXML schema as the required APIs weren’t available in .NET core 2.0. The APIs are in .NET Core 3.0 and the CDXML schema checks are built into PowerShell 7.

Advertisements
This entry was posted in PowerShell 7. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s