Backup Exec Management Command Line Interface Help
Get-BEAlertCategory Cmdlet
Synopsis

Gets alert categories in Backup Exec.

Syntax
Get-BEAlertCategory [[-Name] [<String[]>]] [<CommonParameters>]

Get-BEAlertCategory [-Id] [<Guid[]>] [<CommonParameters>]

Get-BEAlertCategory -InputObject [<BEAlertCategory[]>] [<CommonParameters>]
Description

Gets alert categories in Backup Exec.

Without parameters, Get-BEAlertCategory gets all of the Backup Exec alert categories. You can also specify an alert category by alert category name or alert category ID (Guid) or pass a Backup Exec alert category object through the pipeline to Get-BEAlertCategory.

Parameters

-Name <String[]>

Specifies one or more alert categories by alert category name (wildcards accepted). To specify multiple names, use commas to separate the names.


Required false
Position 0
Accepts pipeline input false
Accepts wildcard characters true


-Id <Guid[]>

Specifies one or more alert categories by alert category ID (Guid). To specify multiple IDs, use commas to separate the IDs.


Required true
Position 0
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-InputObject <BEAlertCategory[]>

Specifies one or more alert category objects. Enter a variable that contains the objects, or type a command or expression that gets the objects.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Types
System.Guid

You can pipe a System.Guid that contains the ID of a Backup Exec alert category object to Get-BEAlertCategory.



BackupExec.Management.CLI.BEAlertCategory

You can pipe a Backup Exec alert category object to Get-BEAlertCategory.

Return Value
BackupExec.Management.CLI.BEAlertCategory

Get-BEAlertCategory returns objects that represent Backup Exec alert categories.

Examples

Example 1

C:\PS> Get-BEAlertCategory

This command gets all of the alert categories.


Example 2
C:\PS> Get-BEAlertCategory -Name "Job Completed with Exceptions"

This command gets the alert category named "Job Completed with Exceptions".


Example 3
C:\PS> Get-BEAlertCategory -Name "Job*"

This command gets all of the alert categories that match the wildcard "Job*".


Example 4
C:\PS> Get-BEAlertCategory -Name "Job Start" | Set-BEAlertCategory -Enabled $true

These commands enabled the alert category named "Job Start".

Related Link

Set-BEAlertCategory