ConfigMgr Collection: All VMs on Hyper-V host(s)

I happen to have a couple Hyper V Hosts that I build test machines on.  I have a couple collections with Machine Deployments, and I want it available to all of my Test VMs.  To make life easier, I’ve created a simple Query that will find all VMs on a specific HyperV Host and populate them into the collection.

Collection Query:
I changed it to List of Values, since I have more than 1 Hyper V Host.
image

Now all of my VM’s on those Hosts Show up in my Collection:
image

Never need to add a machine into my Test Collection again.  As soon as I create a New VM, run OSD via unknown computer support, it populates into SCCM, then automatically into my test collections to receive rest of the deployments.

Posted GARYTOWN.COM

1 thought on “ConfigMgr Collection: All VMs on Hyper-V host(s)”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.