I am trying to import sccm module to powershell using the cmdlets:
cd 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager'; Import-Module .\ConfigurationManager.psd1; CD ING:
'ING' is the site code. But its giving error "A drive with the name ING does not exist".
So I tried to create it by using
New-PSDrive -Name "ING" -PSProvider "AdminUI.PS.Provider\CMSite" -Root "contoso" -Description "Primary site" CD ING:
But nothing happens, still gives the same error.