select COL.Name from SMS_Collection as COL JOIN SMS_FullCollectionMembership as COLMEM on COL.CollectionID = COLMEM.CollectionID where COLMEM.Name = ##PRM:SMS_FullCollectionMembership.Name## order by COL.NameYou can use this query within SCCM solely as a Query or as a collection membership query. For SQL queries and reports take a look here
Blog about Private and Public Cloud & IT Infrastructure. Mainly focussed on Security, Azure, SIEM (Sentinel/Splunk), and System Center
Monday, December 18, 2017
SCCM: Query collection membership for specific system
Beneath you find a WQL query for listing all collection memberships for a specific system in SCCM
I got some examples of the internet which didn't work for me. This query does and uses a prompt asking for a system resource name.
No comments:
Post a Comment