Export (0) Print
Expand All
Expand Minimize

Get-SCPROMonitor

Updated: September 27, 2012

Applies To: System Center 2012 - Virtual Machine Manager

Get-SCPROMonitor

Gets a PRO monitor object from Operations Manager.

Syntax

Parameter Set: PROTargetType
Get-SCPROMonitor [-PROTargetType <PROTargetType> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: Name
Get-SCPROMonitor -ManagementPackName <String> -Name <String> [-VMMServer <ServerConnection> ] [ <CommonParameters>]




Detailed Description

The Get-SCPROMonitor cmdlet gets one or more Performance and Resource Optimization (PRO) monitors from System Center Operations Manager.

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

Parameters

-ManagementPackName<String>

Specifies the name of a management pack. To get a specific PRO monitor, use this parameter with the monitor's name property.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of a VMM object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PROTargetType<PROTargetType>

Specifies the PRO target type. Valid values are: Cloud, ComputerTier, HostCluster, ServiceInstance, Unspecified, VM, VMHost, VMMServer.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

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.

  • PROMonitor

Examples

1: Get all of the PRO monitors from Operations Manager.

This command gets all PRO monitors from Operations Manager and displays details about each monitor for the user.


PS C:\> Get-SCPROMonitor

2: Get a specific PRO monitor by its name.

The first command gets the PRO monitor object witht he specified name and management pack name, and stores the object in the $PROMonitor variable.

The second command displays information about the monitor object stored in $PROMonitor to the user.


PS C:\> $PROMonitor = Get-SCPROMonitor -Name "System Center Virtual Machine Manager Maximum Dynamic Memory Monitor" -ManagementPackName "System Center Virtual Machine Manager PRO V2 HyperV Host Performance"PS C:\> $PROMonitor

3: Get all PRO monitors for a specific target type.

This command gets all PRO monitors that have the target type of VMHost, and displays information about each monitor to the user.


PS C:\> Get-SCPROMonitor -PROTargetType VMHost

Related topics

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