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

Gets error handling rules in Backup Exec.

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

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

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

Gets error handling rules in Backup Exec.

Without parameters, Get-BEErrorHandlingRule gets all of the Backup Exec error handling rules. You can also specify an error handling rule by error handling rule name or error handling rule ID (Guid) or pass a Backup Exec error handling rule object through the pipeline to Get-BEErrorHandlingRule.

Parameters

-Name <String[]>

Specifies one or more error handling rules by error handling rule 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 error handling rules by error handling rule 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 <BEErrorHandlingRule[]>

Specifies one or more error handling rule 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 error handling rule object to Get-BEErrorHandlingRule.



BackupExec.Management.CLI.BEErrorHandlingRule

You can pipe a Backup Exec error handling rule object to Get-BEErrorHandlingRule.

Return Value
BackupExec.Management.CLI.BEErrorHandlingRule

Get-BEErrorHandlingRule returns objects that represent Backup Exec error handling rules.

Examples

Example 1

C:\PS> Get-BEErrorHandlingRule

This command gets all of the error handling rules.


Example 2
C:\PS> Get-BEErrorHandlingRule -Name "Job Cancellation"

This command gets the error handling rule named "Job Cancellation".


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

This command gets all of the error handling rules that match the wildcard "*Job*".