Get-VMFirmware
Get-VMFirmware
Gets the firmware configuration of a virtual machine.
構文
Parameter Set: VMName
Get-VMFirmware [-VMName] <String[]> [-ComputerName <String[]> ] [ <CommonParameters>]
Parameter Set: VMObject
Get-VMFirmware [-VM] <VirtualMachine[]> [ <CommonParameters>]
Parameter Set: VMSnapshot
Get-VMFirmware [-VMSnapshot] <VMSnapshot> [ <CommonParameters>]
詳細説明
The Get-VMFirmware cmdlet gets the firmware configuration of a virtual machine. Note: This cmdlet is supported only on Generation 2 virtual machines.
パラメーター
-ComputerName<String[]>
Specifies an array of Hyper-V hosts. The cmdlet gets the virtual machine firmware from the hosts you specify.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
. |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-VM<VirtualMachine[]>
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.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-VMName<String[]>
Specifies an array of names of virtual machines. The cmdlet gets the firmware configuration for the virtual machines you specify.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-VMSnapshot<VMSnapshot>
Specifies the virtual machine snapshot to be used with the VM when retrieving the firmware configuration.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Microsoft.HyperV.PowerShell.VMFirmware
注
- Note: This cmdlet is supported only on Generation 2 virtual machines.
例
Example 1
This example returns a virtual machine firmware object for the virtual machine “Test VM”.
PS C:\> Get-VMFirmware "Test VM"