Syntax
Get-OMAlertType [[-Name] <String[]>] [-Server <OMServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]Related Commands
Online versionDetailed 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
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Filters the alert types by name. | false | false | |
Id | String[] | Filters the alert types by ID. | true | false | |
InformationAction | ActionPreference | false | false | ||
InformationVariable | String | false | false | ||
PipelineVariable | String | false | false | ||
Server | OMServer[] | 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. | false | false |
Return Type
Zero or more OMAlertSubType objectsNotes
Examples
-------------- Example 1 --------------
Get-OMAlertType
Lists all available alert types.
-------------- Example 2 --------------
Get-OMAlertType -Name 'Network Alerts'
Retrieves all alert types named 'Network Alerts'.