12 lines
918 B
Plaintext
12 lines
918 B
Plaintext
|
|
Right-click the Windows PowerShell icon and choose "Run as administrator".
|
|
Type CD 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin' and hit enter.
|
|
Type Import-Module .\ConfigurationManager.psd1 and run it.
|
|
Here's the crucial missing step. Enter New-PSDrive -Name [yoursitecode] -PSProvider "AdminUI.PS.Provider\CMSite" -Root "[your SCCM server's FQDN]" -Description "SCCM Site"
|
|
Now we can connect to the site. Enter CD ABC:, where ABC is your site code. The colon is necessary!
|
|
|
|
|
|
=============================================================================================================================================
|
|
Import-Module 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1'
|
|
New-PSDrive -Name SCCM-Drive -PSProvider "AdminUI.PS.Provider\CMSite" -Root "PNCRASCCM001.ccx.carecentrix.com" -Description "SCCM Site"
|