Skip to main content

Posts

Showing posts from December, 2013

SCCM 2007 + PowerShell - WMI is the key to automation Part 2

In Previous post I talked about how to explore the WMI namespace for ConfigMgr 07. In this post would like to point out on how to use the  SCCM-Commands PowerShell Module  , this Module leverages WMI with PowerShell. Many thanks to  Michael Niehaus,  Rikard Ronnkvist,  Stefan Ringler and  Ricardo Cheing  authors of this Module for sharing this. Download this module and extract it, it contains a single PowerShell Module file .this is a Script Module ( SCCM-Commands .psm1). Place this File under your Modules Directory in a folder named same as the module i.e. SCCM-Commands Now you should be able to see the Script module in you session like below: Now you have to import the module and then you can list all the Advanced functions shipped with this module using either of the below 2 ways:  1. Use Get-Command -Module SCCM-Commands  2. Or Use Get-SCCMCommands function within the module itself. Now the Functi...