Thursday, 20 August 2015

List SCCM Collections for PC - Powershell

This script will list all collections a machine is a member of, script should be called like " .\script.ps1 -smartname HOSTNAME"

Hostname should be the computers AD object name. You will need to change the following values: $SiteCode = "XXX" $SiteServer = "prodservername"

No comments:

Post a Comment