Skip to content

Latest commit

 

History

History
99 lines (71 loc) · 2.27 KB

File metadata and controls

99 lines (71 loc) · 2.27 KB
external help file ms.assetid online version schema
Microsoft.Azure.Commands.ResourceManager.Automation.dll-Help.xml
FF44BCD2-AD8E-4F5C-AB10-BD6BD69E7F45
2.0.0

Suspend-AzureRmAutomationJob

SYNOPSIS

Suspends an Automation job.

SYNTAX

Suspend-AzureRmAutomationJob [-Id] <Guid> [-ResourceGroupName] <String> [-AutomationAccountName] <String>
 [<CommonParameters>]

DESCRIPTION

The Suspend-AzureRmAutomationJob cmdlet suspends an Azure Automation job. Specify a running Automation job.

To resume a suspended job, use the Resume-AzureRmAutomationJob cmdlet.

EXAMPLES

Example 1: Suspend a job

PS C:\> Suspend-AzureRmAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -ResourceGroupName "ResourceGroup01"

This command suspends the job that has the specified ID.

PARAMETERS

-AutomationAccountName

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

-Id

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

-ResourceGroupName

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

CommonParameters

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).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-AzureRmAutomationJob

Get-AzureRmAutomationJobOutput

Resume-AzureRmAutomationJob

Stop-AzureRmAutomationJob