Hyper-V Virtual Machine BIOS and Firmware Info
Use PowerShell to view Hyper-V virtual machine BIOS and firmware information.
John Savill
May 8, 2014
1 Min Read
Q: How can I use PowerShell to view the BIOS/firmware configuration of my Hyper-V virtual machines?
A: Hyper-V 2012 R2 supports two types of virtual machine:
Generation 1: BIOS based
Generation 2: UEFI based
To view the BIOS configuration of a Generation 1 virtual machine, use the Get-VMBios cmdlet (and use Set-VMBios to configure settings). This command's output is shown below:
PS C:> Get-VMBIOS Gen1VM | flComputerName : SAVDALHV20NumLockEnabled : FalseStartupOrder : {CD, IDE, LegacyNetworkAdapter, Floppy}VMId : c418cc87-4db2-4a38-ae5c-9ebd075fdf04VMName : Gen1VMVMSnapshotId : 00000000-0000-0000-0000-000000000000VMSnapshotName : Key : IsDeleted : False
To view the firmware configuration of a Generation 2 virtual machine, use the Get-VMFirmware cmdlet (and use Set-VMFirmware to configure settings). This command's output is shown below:
PS C:> Get-VMFirmware Gen2VM | flComputerName : SAVDALHV20SecureBoot : OnPreferredNetworkBootProtocol : IPv4BootOrder : {File, Drive, Drive, Network}VMId : 514dc058-e4b3-4c91-9c5c-824930895035VMName : Gen2VMVMSnapshotId : 00000000-0000-0000-0000-000000000000VMSnapshotName : Key : IsDeleted : False
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like