Category Archives: Modules

Testing module existance

I had a comment left on an old post stating that Get-ADuser errored stating it wasn’t a cmdlet.  This is because the module wasn’t loaded or on PowerShell 3 and above available to be auto-imported.  That got me thinking about … Continue reading

Posted in Modules, PowerShell V3, PowerShell v4 | 2 Comments

CDXML: Module Manifest

Last time we created a module using CDXML to wrap the Win32_Bios WMI class. This gave us a cmdlet – Get-Bios.  As the intention is to create a number of modules that expose the WMI classes related to hardware we … Continue reading

Posted in CDXML, CIM, Modules, PowerShell and WMI, PowerShell V3, PowerShell v4 | Leave a comment