Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Check Virtual Machine Boot Order

$
0
0

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

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>