TBH that will give you the collection IDs. On Thu, Apr 16, 2015 at 4:48 PM, Paul Winstanley <[email protected]> wrote:
> Get-WmiObject -ComputerName <site server> -Namespace > root/SMS/site_<sitecode> -Query "SELECT * FROM SMS_FullCollectionMembership > WHERE Name='<hostname>'" > > > On Thu, Apr 16, 2015 at 4:37 PM, Nick sullivan < > [email protected]> wrote: > >> Anybody aware of a Powershell script I can run to get collection >> memberships of a computer using SCCM WMI Queries not the SCCM Commandlets. >> >> >> >> >> >> >
