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.

Syntax

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

Detailed 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.

Parameters

-InputObject<PSObject>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VirtualMachine<String>

Specifies the name of the clustered virtual machine to reset.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Examples

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