Get-OMAlertType Command | Vmware PowerCLI Reference

Get-OMAlertType

This cmdlet retrieves alert types from the specified VMware Aria Operations 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.

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
  • wildcards
Filters the alert types by name.
optional ProgressAction ActionPreference named
optional Server OMServer[] named
Specifies the VMware Aria Operations 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.
Get-OMAlertType
-Id < String[] >
[-ProgressAction < ActionPreference > ]
[-Server < OMServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
Filters the alert types by ID.
optional ProgressAction ActionPreference named
optional Server OMServer[] named
Specifies the VMware Aria Operations 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.

Output

VMware.VimAutomation.vROps.Types.V1.OMAlertType

Examples

Example 1

Get-OMAlertType

Lists all available alert types.

Example 2

Get-OMAlertType -Name 'Network Alerts'

Retrieves all alert types named 'Network Alerts'.

Related Commands

OMAlert

This cmdlet retrieves alerts from the specified VMware Aria Operations server.

This cmdlet configures VMware Aria Operations alerts.

OMAlertDefinition

This cmdlet retrieves alert definitions from the specified VMware Aria Operations server.

OMAlertSubType

This cmdlet retrieves alert subtypes from the specified VMware Aria Operations server.

OMAlertType

This cmdlet retrieves alert types from the specified VMware Aria Operations server.