Reset-ClusterVMMonitoredState

Reset-ClusterVMMonitoredState

Resets the Application Critical state of a virtual machine, so that the virtual machine is no longer marked as being in a critical state in the cluster.

構文

Parameter Set: InputObject
Reset-ClusterVMMonitoredState [[-VirtualMachine] <String> ] [-InputObject <PSObject> ] [ <CommonParameters>]

詳細説明

The Reset-ClusterVMMonitoredState cmdlet resets the Application Critical state of a virtual machine, so that the virtual machine is no longer marked as being in a critical state in the cluster. Note: This cmdlet can only be run locally on the virtual machine or through Windows PowerShell® remoting to the virtual machine.

パラメーター

-InputObject<PSObject>

Specifies the cluster on which to run the cmdlet and the clustered virtual machine to reset.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

true (ByValue)

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

false

-VirtualMachine<String>

Specifies the name of the clustered virtual machine to reset.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

  • None

出力

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

  • None

Example 1

This example resets the state of the virtual machine and clears the critical state.

PS C:\> Reset-ClusterVMMoniteredState

関連トピック

Add-ClusterVMMonitoredItem

Get-ClusterVMMonitoredItem

Remove-ClusterVMMonitoredItem