Update-ClusterVirtualMachineConfiguration

Update-ClusterVirtualMachineConfiguration

Refreshes the configuration of a clustered virtual machine within a failover cluster.

構文

Parameter Set: InputObject
Update-ClusterVirtualMachineConfiguration [[-Name] <String> ] [-Cluster <String> ] [-InputObject <PSObject> ] [-VMId <Guid> ] [ <CommonParameters>]

詳細説明

The Update-ClusterVirtualMachineConfiguration cmdlet refreshes the configuration of a clustered virtual machine within a failover cluster. Use this cmdlet if a hardware device, such as a network adapter, is to be added or removed or the hardware configuration settings, such as the setting for virtual memory, are being changed for a clustered virtual machine.

パラメーター

-Cluster<String>

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InputObject<PSObject>

Specifies the clustered virtual machine resource to update.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name of the clustered virtual machine resource to update.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-VMId<Guid>

Specifies the virtual machine identifier (ID).

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • Microsoft.FailoverClusters.PowerShell.ClusterResource

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.FailoverClusters.PowerShell.ClusterResource

EXAMPLE 1

This example refreshes the clustered virtual machine named Virtual Machine Configuration VM1 on the local cluster.

PS C:\> Update-ClusterVirtualMachineConfiguration –Name "Virtual Machine Configuration VM1"

EXAMPLE 2

This example refreshes the clustered virtual machine named Virtual Machine Configuration VM2 on the cluster named cluster1.

PS C:\> Update-ClusterVirtualMachineConfiguration –Name "Virtual Machine Configuration VM2" -Cluster cluster1

関連トピック

Add-ClusterVirtualMachineRole

Move-ClusterVirtualMachineRole