Restart-AzureRmSiteRecoveryJob

Restarts an Azure Site Recovery job.

Syntax

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

Description

The Restart-AzureRmSiteRecoveryJob cmdlet restarts an Azure Site Recovery job.

Required Parameters

-Job

Specifies the Site Recovery job object.

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

Specifies the unique name for the job.

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

Optional Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
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