SCCM Collection Query for Virtual Machines

SCCM Collection Query for Virtual Machines
SCCM Collection Query for Virtual Machines

Estimated reading time: 1 minutes

Just a quick post to add to our list of SCCM collection queries. We needed one today for a collection of virtual machines only.

This query you can use to create a collection to do this:

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 
  where SMS_R_System.IsVirtualMachine = "1"

You can check out our other SCCM collection queries by following this link.

Share this content:

Click to rate this post!
[Total: 2 Average: 3]
Avatar for Andrew Armstrong

About Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by Andrew Armstrong

Leave a Reply

Your email address will not be published. Required fields are marked *