Find and Import the Configuration Manager Powershell Module

In order to use the Powershell CMDlets, you need to import the Configuration Manager Powershell module. These are not available by default.

Import-Module (Join-Path $(Split-Path $env:SMS_ADMIN_UI_PATH) ConfigurationManager.psd1)

Ta da!

Advertisements