PowerCLI: Force a VM to enter BIOS setup on next boot
Jump to navigation
Jump to search
Set-VMBIOSSetup
author: Shay Levy
Description
A filter to programmatically set the vmx-configuration property so that the VM will boot into the BIOS setup screen on the next reboot.
Usage:
## Get all VMs which name starts with XP, force the VM to enter into bios ## mode on next boot and write VM objects back to pipeline Get-VM XP* | Set-VMBIOSSetup -PassThru # Get all VMs which name starts with XP and disable (uncheck) bios mode on next boot Get-VM XP* | Set-VMBIOSSetup -Disable