Export (0) Print
Expand All
Expand Minimize

Get-Monitor

Get-Monitor

Gets management pack monitors.

Syntax

Parameter Set: FromMonitoringObjectProviderPath
Get-Monitor [[-Path] <String[]> ] [ <CommonParameters>]

Parameter Set: FromCriteria
Get-Monitor [-Criteria] <String> [[-Path] <String[]> ] [ <CommonParameters>]

Parameter Set: FromId
Get-Monitor [-Id] <Guid> [[-Path] <String[]> ] [ <CommonParameters>]

Parameter Set: FromManagementPack
Get-Monitor [-ManagementPack] <ManagementPack> [ <CommonParameters>]




Detailed Description

Gets management pack monitors. The cmdlet can return all management pack monitors for a management group or return only those that satisfy the criteria specified in the Criteria parameter. It can return only those management pack monitors associated with a specified monitoring object or all management pack monitors for a specified management pack.

Parameters

-Criteria<String>

Specifies criteria using syntax designed for use with System Center Operations Manager. Only monitors that meet the specified criteria will be retrieved. To learn about the syntax, consult the SDK topic, "Criteria Expression Syntax", in the System Center Operations Manager 2007 SDK. You can find the SDK by search Microsoft Developer Network (MSDN) online at http://msdn.microsoft.com.


Aliases

none

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Id<Guid>

Specifies the GUID of the monitor to retrieve.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-ManagementPack<ManagementPack>

Specifies the management pack. If used, only monitors associated with this management pack are retrieved.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Path<String[]>

Specifies the path or paths to monitoring objects. If used, only monitors associated with the indicated monitoring objects are retrieved.


Aliases

none

Required?

false

Position?

4

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

Notes

  • For more information, type "Get-Help Get-Monitor -detailed". For technical information, type "Get-Help Get-Monitor -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

-------------- EXAMPLE 1 --------------

This command retrieves all the monitors that have names beginning with "System".


C:\PS>get-monitor -criteria "Name like 'System%'"

Related topics

Unkown

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