System Center

SCCM Collection Query for Virtual Machines

Last updated on April 17th, 2023 at 12:46 am

Read Time:25 Second

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.

Avatar for Andrew Armstrong

About Post Author

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 23 years. Sharing experience and knowledge whenever possible! Making IT Happen.
administrator
Click to rate this post!
[Total: 1 Average: 1]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 4,418 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Follow Us

Subscribe

Join 4,418 other subscribers.

Categories

Archives

Top Downloads

Tags

Blog Stats

  • 6,660,488 hits

Meta