Advertisement
keebz

SCCM Get list of devices in a collection via Powershell

Jun 25th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $collectionName = ""
  2. Get-CMDevice -CollectionId (Get-CMCollection -Name $collectionName).CollectionID | Select Name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement