Guest User

Untitled

a guest
Feb 23rd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Import-Module $env:SMS_ADMIN_UI_PATH.Replace("\bin\i386","\bin\configurationmanager.psd1")
  2. $CMSite = Get-PSProvider -PSProvider CMSITE
  3. Set-Location -Path "$($CMSite.Drives.Name):\"
  4.  
  5. Invoke-CMQuery -Name 'All Non-Client Systems'
Add Comment
Please, Sign In to add comment