Help Center

Follow

Create Dynamic Collection to Differentiate Hyper-V Generation 1 and 2 Virtual Machines

Purpose:

You wish to create a Dynamic Collection that differentiates between Generation 1 and Generation 2 Hyper-V Virtual Machine instances. For more information on Generation 1 and 2 VMs, please see the following TechNet article, https://technet.microsoft.com/en-us/library/dn282285.aspx

Note: This article applies specifically to environments containing Microsoft Windows Server 2012 and Microsoft Windows Server 2012 R2. If your environment contains a version of Windows Server older than 2012, those Hyper-V Virtual Machine instances will be generation-less (Generation 1). In mixed Hyper-V host environments, you would create a parent Dynamic Collection that lists all Windows Server 2012/R2 instances, nest the Dynamic Collections outlined below under that parent, and use the Drill down from parent collection option on those child collections.

Resolution:

PDQ Inventory reports Generation 2 Hyper-V Virtual Machines as having the Hyper-V UEFI BIOS in the Main Computer screen. You can use this to create a Dynamic Collection (and/or a report) using filtering to achieve the following:

  • Identify Hyper-V Virtual Machines
  • Identify whether the BIOS contains a UEFI BIOS
  • Filter based on the BIOS Version to list Gen 1 and Gen 2 Hyper-V VMs

Here is an example of a machine running a Generation 2 Hyper-V VM:

To create Dynamic Collections to differentiate between Generation 1 and 2 in Hyper-V, you will create two Dynamic Collections.

Identify Generation 1 Hyper-V VMs

1. Create a new Dynamic Collection and name it something reasonable.

2. Leave the Group Filter set to "All" and include the following as seen below:

This eliminates any Generation 2 Hyper-V instances by excluding any computer with a BIOS version that contains UEFI. Since there are only two options, Gen 1 or Gen 2, eliminating Generation 2 VMs will leave only Generation 1 VMs.

NOTE: In certain, rare cases you might have a model that contains Virtual Machine that is not a Hyper-V hypervisor. In those instances you would want to add another value filter that limits your virtual machines to only those that are Hyper-V. To do that, add another line to your filtering:

3. Click OK to save the collection.

Identify Generation 2 Hyper-V VMs

1. Create another Dynamic Collection and name it something reasonable.

2. Leave the Group Filter set to "All" and include the following as seen below:

This includes only those Hyper-V machines that have BIOS versions that contain UEFI. Remember that if you need to differentiate between Hyper-V and other hypervisor platforms, you can use the same filter in the NOTE of Identify Generation 1 Hyper-V VMs, Step 2 above.

3. Click OK to save the collection.

Special thanks to JP, one of our customers, for requesting, testing, and assisting in the creation of this article.

See Also:

Collection Basics

Advanced Collections and Report Filters - Part I

Advanced Collections and Report Filters - Part II

Building a Report from a Collection in PDQ Inventory

https://technet.microsoft.com/en-us/library/dn282285.aspx

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.