Most Popular Posts

Friday 25 November 2011

SCCM Collection based on executable name

Just a quick one to remind myself how to create a collection of computers that have a specific executable. Create a new collection and insert the following query:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "vpngui.exe"

change the executable name to one of your choice, all done! :)

No comments:

Post a Comment