Get-​Azure​Sql​Job​Execution​Policy

Gets one or multiple job execution policies.

Syntax

Get-AzureSqlJobExecutionPolicy
   [[-AzureSqlJobConnection] <AzureSqlJobConnection>]
   -ExecutionPolicyName <String[]>
   [<CommonParameters>]

Description

The Get-AzureSqlJobExecutionPolicy cmdlet gets one or multiple job execution policies.

Examples

Example 1: Get an execution policy

PS C:\>Get-AzureSqlJobExecutionPolicy -ExecutionPolicyName myCustomExecutionPolicyName
ExecutionPolicyName             : myCustomExecutionPolicyName
JobExecutionTimeout             : 01:00:00
InitialRetryInterval            : 00:00:01
RetryIntervalBackoffCoefficient : 1
MaximumRetryInterval            : 00:00:30
MaximumAttempts                 : 100

This command gets an execution policy.

Required Parameters

-ExecutionPolicyName

Specifies the name of the execution policy that this cmdlet gets.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AzureSqlJobConnection

Specifies the connection state object for the job. You can get the connection state object through the New-AzureSqlJobConnection cmdlet. If you do not specify this parameter, the connection state is used from a prior call to the Use-AzureSqlJobConnection cmdlet.

Type:AzureSqlJobConnection
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False