Virtual Machine Collection - Configuration Manager 2007 SP1

Its been a while since I’ve blogged, after a long break I’m trying to catch up with blogging. Here is a configuration post in system center configuration manager 2007 sp1.

I spent sometime discovering the right query to be used for creating this collection, its helpful for the IT Pros who use SCCM and do a lot of Virtualization.

In this post we'll walkthrough creation of collection in configuration manager 2007 SP1 that would discover all Hyper-V based VM's:

  1. Open Configuration Manager 2007 Management Console

  2. Collapse Computer Management

  3. Collapse Collections

  4. Right Click Collection, hit New Collection, now follow the instruction in the screenshot below

    At the first screen in the wizard specify the name of the collection. (in my case 'All Virtual Machines'). Hit Next. clip_image001

    Click 'Query Rule Properties' clip_image002

    Click "Edit Query Statement' tabclip_image003

    Click on 'Select' and select 'System Devices - Hardware IDs' from the drop down menu > Drop the' operator' menu and select 'is equal to' > Drop the 'Value' menu and select 'APCI\VMBus, *VMBus' as the string valueclip_image004

    Click 'OK' all through. You should now see a new collection created under collections.

    Right Click on the new collection (All Virtual Machines in my case) and update collection membership. Wait for few minutes, it'll fill the collection with all discovered VM's.

    clip_image005

Hope this was helpful!!!