Force a VM to enter BIOS setup screen on next reboot

Thursday, August 27, 2009

With the following PowerCLI filter you can force entry of virtual machine(s) into the BIOS setup screen next time the VM boots. You can configure the option in the VM options tab but with Set-VMBIOSSetup you can toggle the value programmatically: Note that setting a VM to enter BIOS mode is a one time action. Once the VM reboots and enters the BIOS screen the ‘Force BIOS Setup’ flag is unchecked so that subsequent boots proceed normally. filter Set-VMBIOSSetup {    param(         $Disable,         $PassThru    )    if($_ -is )     {        trap { throw $_...