Syntax
Get-OMAlertSubType [[-Name] <String[]>] [-AlertType <OMAlertType[]>] [-Server <OMServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves alert subtypes from the specified vRealize Operations Manager server. The alert subtype helps you categorize the alerts by areas specific to vRealize Operations Manager, 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 subtypes by name. | false | false | |
AlertType | OMAlertType[] | Filters the alert subtypes by the type of the alert. | false | false | |
Id | String[] | Filters the alert subtypes 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-OMAlertSubType
Lists all available alert subtypes.
-------------- Example 2 --------------
Get-OMAlertSubType -Name 'Performance'
Retrieves all alert subtypes named 'Performance'.
-------------- Example 3 --------------
$alertType = Get-OMAlertType -Name 'Network Alerts' Get-OMAlertSubType -AlertType $alertType
Retrieves all applicable alert subtypes for an alert type.