Wednesday, May 29, 2013

SCCM Collection query for a PC model

This WQL query will create a SCCM collection for all the VMWare Workstations in the organization.
To create a collection for specific model workstation,  replace the “VMware virtual Platform” with a model name of the machine you want to create a collection.

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_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Model like "VMware Virtual Platform"

More SCCM collection queries can be found here

No comments:

Post a Comment