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.
I changed it to List of Values, since I have more than 1 Hyper V Host.
Now all of my VM’s on those Hosts Show up in my Collection:
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.
1 thought on “ConfigMgr Collection: All VMs on Hyper-V host(s)”
I love this post. Rebuilding VM's is so much easier now. To have them added to all the collections I need them in after a rebuild is fantastic. Good work Gary.