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.

Syntax

Reset-ClusterVMMonitoredState
     [[-VirtualMachine] <String>]
     [-InputObject <PSObject>]

Description

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.

Examples

Example 1

PS C:\>Reset-ClusterVMMoniteredState

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

Optional Parameters

-InputObject

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

Type:PSObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VirtualMachine

Specifies the name of the clustered virtual machine to reset.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

None