PowerShell module for managing System Center Configuration Manager 2012 is not available by default in PowerShell Console… If you want to Import module for SCCM 2012, run the below command
|
001
|
Import-Module (Join-Path $(Split-Path $env:SMS_ADMIN_UI_PATH) ConfigurationManager.psd1)
|
If you are using SCCM console from different PCs, you have to copy the module file (ConfigurationManager.psd) from SCCM server or Go to File Menu of SCCM and Open PowerShell