Get-VMFirmware
Gets the firmware configuration of a virtual machine.
Get-VMFirmware
[-ComputerName <String[]>]
[-VMName] <String[]>
[<CommonParameters>]
Get-VMFirmware
[-VMSnapshot] <VMSnapshot>
[<CommonParameters>]
Get-VMFirmware
[-VM] <VirtualMachine[]>
[<CommonParameters>]
The Get-VMFirmware cmdlet gets the firmware configuration of a virtual machine. Note: This cmdlet is supported only on Generation 2 virtual machines.
PS C:\> Get-VMFirmware "Test VM"
This example returns a virtual machine firmware object for the virtual machine "Test VM".
Specifies an array of Hyper-V hosts. The cmdlet gets the virtual machine firmware from the hosts you specify.
Type: | String[] |
Position: | Named |
Default value: | . |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of virtual machine objects. The cmdlet gets the firmware configuration for the virtual machines you specify. To obtain a virtual machine object, use the Get-VM cmdlet.
Type: | VirtualMachine[] |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies an array of names of virtual machines. The cmdlet gets the firmware configuration for the virtual machines you specify.
Type: | String[] |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the virtual machine snapshot to be used with the VM when retrieving the firmware configuration.
Type: | VMSnapshot |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Microsoft.HyperV.PowerShell.VMFirmware
- Note: This cmdlet is supported only on Generation 2 virtual machines.