PowerShell for Windows Admins

Jun 2 2014   10:53AM GMT

Unavailable modules

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Tags:
PowerShell
Windows 2012

Another question on the powershell.org forum centred on modules not available on down level versions of Windows – in this case the SmbShare module.

A large number of modules were introduced with Windows server 2012 (many are also available on Windows 8). Over 60% of this new functionality is created using CDXML. A WMI class is created to do the work. Calls to the class are wrapped in XML and the subsequent file can be published as a PowerShell module.

These are easy to spot as they have a .CDXML extension.

If you are having problems with a module that doesn’t appear to be on Windows Server 2008 R2 or earlier – check the file extension in the module folder on a Windows Server 2012 (R2) system– if its CDXML the WMI class almost certainly won’t be available on the earlier versions of Windows.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: