Resume-​Azure​Automation​Job

Resumes a suspended Automation job.

Syntax

Resume-AzureAutomationJob
      -AutomationAccountName <String>
      -Id <Guid>
      [-Profile <AzureSMProfile>]
      [<CommonParameters>]

Description

The Resume-AzureAutomationJob cmdlet resumes a suspended Microsoft Azure Automation job. Use the Id parameter to specify the suspended job.

To suspend a job, use the Suspend-AzureAutomationJob cmdlet.

Examples

Example 1: Resume a suspended job

PS C:\> Resume-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64

This command resumes the job that has the specified ID.

Required Parameters

-AutomationAccountName

Specifies the name of an Automation account.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Id

Specifies the ID of a job.

Type:Guid
Aliases:JobId
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False