Get-SCPROMonitor

Gets a PRO monitor object from Operations Manager.

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

Required? true
Accept Pipeline Input? false
Position? named
Specifies the name of a management pack. To get a specific PRO monitor, use this parameter with the monitor's name property.

Name

Required? true
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

PROTargetType

Required? false
Accept Pipeline Input? false
Position? named
Specifies the PRO target type. Valid values are: Cloud, ComputerTier, HostCluster, ServiceInstance, Unspecified, VM, VMHost, VMMServer.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get all of the PRO monitors from Operations Manager.
PS C:\> Get-SCPROMonitor
This command gets all PRO monitors from Operations Manager and displays details about each monitor for the user.
2: Get a specific PRO monitor by its name.
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
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.
3: Get all PRO monitors for a specific target type.
PS C:\> Get-SCPROMonitor -PROTargetType VMHost
This command gets all PRO monitors that have the target type of VMHost, and displays information about each monitor to the user.

See Also