Stop-AzureRmSiteRecoveryJob

Stops a Site Recovery job.

Syntax

Stop-AzureRmSiteRecoveryJob
    -Job <ASRJob>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]
Stop-AzureRmSiteRecoveryJob
    -Name <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Stop-AzureRmSiteRecoveryJob cmdlet stops an Azure Site Recovery job.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Job

Specifies the Site Recovery job object to stop.

Type:ASRJob
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the unique name for the Site Recovery job to stop.

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

Inputs

ASRJob

Parameter 'Job' accepts value of type 'ASRJob' from the pipeline

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRJob