To install the System Center Configuration Manager Cmdlet Library
- Download ConfigMgr2012PowerShellCmdlets.msi .
- After the download completes, double-click ConfigMgr2012PowerShellCmdlets.msi to run the setup wizard.
Using the System Center Configuration Manager Cmdlet Library
-
- You can run Configuration Manager cmdlets and scripts by using the Configuration Manager console or by using a Windows PowerShell session. When you run Configuration Manager cmdlets by using the Configuration Manager console, your session runs in the context of the site.
To start a Windows PowerShell session from the Configuration Manager console
- In the Configuration Manager console, click the drop down menu.
- Select Connect via Windows PowerShell.
To use the Configuration Manager module in a Windows PowerShell session
- Start Windows PowerShell.
- Change the directory to
\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin
Access the CmdLets