external help file | ms.assetid | online version | schema |
---|---|---|---|
Microsoft.Azure.Commands.ResourceManager.Automation.dll-Help.xml |
FF44BCD2-AD8E-4F5C-AB10-BD6BD69E7F45 |
2.0.0 |
Suspends an Automation job.
Suspend-AzureRmAutomationJob [-Id] <Guid> [-ResourceGroupName] <String> [-AutomationAccountName] <String>
[<CommonParameters>]
The Suspend-AzureRmAutomationJob cmdlet suspends an Azure Automation job. Specify a running Automation job.
To resume a suspended job, use the Resume-AzureRmAutomationJob cmdlet.
PS C:\> Suspend-AzureRmAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -ResourceGroupName "ResourceGroup01"
This command suspends the job that has the specified ID.
Specifies the name of an Automation account in which this cmdlet suspends a job.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the ID of a job that this cmdlet suspends.
Type: Guid
Parameter Sets: (All)
Aliases: JobId
Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the ID of a job that this cmdlet suspends.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).