Monday, 29 September 2014

Import the Power shell module for Configuration Manager 2012

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

Import-Module (Join-Path $(Split-Path $env:SMS_ADMIN_UI_PATHConfigurationManager.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