PowerCLI Reference

Get-OMAlertType

Synopsis

This cmdlet retrieves alert types from the specified vRealize Operations Manager server.

Syntax

Get-OMAlertType [[-Name] <String[]>] [-Server <OMServer[]>] [<CommonParameters>]

Get-OMAlertType -Id <String[]> [-Server <OMServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves alert types from the specified vRealize Operations Manager server. The alert type helps you categorize the alerts by general areas, such as network or storage, so that you can assign certain types of alerts to specific system administrators.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Filters the alert types by name.falsefalse
IdString[]Filters the alert types by ID.truefalse
ServerOMServer[]Specifies the vRealize Operations Manager server from which you want to retrieve alerts. The value can be the connection object returned by the Connect-OMServer cmdlet or the object's name, which can be the IP or DNS address of the server machine.falsefalse

Return Type

Zero or more OMAlertSubType objects

Notes

Examples

-------------- Example 1 --------------

Get-OMAlertType

Lists all available alert types.

-------------- Example 2 --------------

Get-OMAlertType -Name 'Network Alerts'

Retrieves all alert types named 'Network Alerts'.


Copyright © VMware, Inc. All rights reserved.