Summary: Use Windows PowerShell to check the boot order on a virtual machine.

Hey, Scripting Guy! Question How do I check the boot order on a virtual machine running on Hyper-V?

Hey, Scripting Guy! Answer Use the Get-VMBios cmdlet and check the StartupOrder property.

Get-VMBios -vmname "Virtual Machine Name" | Select-object -expandproperty StartupOrder

Adding the ComputerName parameter allows you to check the settings on a remote Hyper-V Server.

Get-VMBios -vmname "Virtual Machine Name" -computername 'Hyper-V-Server' |
Select-Object -expandproperty StartupOrder