Export (0) Print
Expand All
Expand Minimize

Reset-SCPROMonitorState

Updated: September 27, 2012

Applies To: System Center 2012 - Virtual Machine Manager

Reset-SCPROMonitorState

Resets the state of a specified PRO monitor.

Syntax

Parameter Set: Default
Reset-SCPROMonitorState -PROMonitorState <PROMonitorState> [-VMMServer <ServerConnection> ] [ <CommonParameters>]




Detailed Description

The Reset-SCPROMonitorState cmdlet resets the state of a specified PRO Monitor.

For more information about Reset-SCPROMonitorState, type: "Get-Help Reset-SCPROMonitorState -online".

Parameters

-PROMonitorState<PROMonitorState>

Specifies a PRO monitor state object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

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

Outputs

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

  • PROMonitorState

Examples

1: Reset a PRO monitor state.

The first command gets the host object named VMHost01 and stores the object in the $VMHost variable.

The second comand gets all PRO monitor state objects on VMHost01 and stores the objects in the $PROMonitorState object array. This example assumes that there are multiple PRO monitors on VMHost01.

The last command resets the first PRO monitor state object stored in $PROMonitorState.


PS C:\> $VMHost = Get-SCVMHost "VMHost01.Contoso.com"PS C:\> $PROMonitorState = @(Get-SCPROMonitorState -VMHost $VMHost)PS C:\> Reset-SCProMonitorState -PROMonitorState $PROMonitorState[0]

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft