CmdID / PowerShell / Cmdlets / Set
Set-VMFirmware
Sets the firmware configuration of a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 17 parameters Its page in the reference
Parameters
Show its 17 parameters
-BootOrderSpecifies an array of devices.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies the names of the Hyper-V hosts whose firmware configuration you want to modify.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ConsoleModeSpecifies the console mode type for the virtual machine.-CredentialSpecifies one or more user accounts that have permission to perform this action.-EnableSecureBootSpecifies whether to enable secure boot.-FirstBootDeviceSpecifies the device from which to attempt to boot from first.-PassthruReturns an object representing the item with which you are working.-PauseAfterBootFailureSpecifies the behavior of the virtual machine after a start failure.-PreferredNetworkBootProtocolSpecifies the IP protocol version to use during a network boot.-SecureBootTemplateSpecifies the name of the secure boot template.-SecureBootTemplateIdSpecifies the ID of the secure boot template.-VMSpecifies the virtual machine objects for which want to modify the firmware configuration.-VMFirmwareSpecifies an array of virtual machine firmware configurations.-VMNameSpecifies an array of names of virtual machines for which you want to modify the firmware configuration.-WhatIf, -wiShows what would happen if the cmdlet runs.