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.

Syntaxe

Parameter Set: InputObject
Reset-ClusterVMMonitoredState [-Wait <System.Int32> ] [ <CommonParameters>]

Description détaillée

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.

Paramètres

-Wait<System.Int32>

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez  . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.

  • None

Sorties

Le type de sortie correspond au type des objets que l'applet de commande émet.

  • None

Exemples

Example 1

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

PS C:\> Reset-ClusterVMMoniteredState

Rubriques connexes

Add-ClusterVMMonitoredItem

Get-ClusterVMMonitoredItem

Remove-ClusterVMMonitoredItem