Export (0) Print
Expand All
Expand Minimize

Get-SCPROMonitor

Updated: April 29, 2014

Applies To: System Center 2012 R2 Virtual Machine Manager

Get-SCPROMonitor

Gets a PRO monitor object from Operations Manager.

Syntax

Parameter Set: PROTargetType
Get-SCPROMonitor [-PROTargetType <PROTargetType> {VM | VMHost | VMMServer | ServiceInstance | Cloud | HostCluster | ComputerTier | Unspecified} ] [-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 Operations Manager.

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

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


PS C:\> Get-SCPROMonitor

Example 2: Get a specific PRO monitor by its name

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

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


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

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


PS C:\> Get-SCPROMonitor -PROTargetType VMHost

Related topics

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