< Back

Restart-AzureSiteRecoveryJob

Wed Jan 30, 2019 5:52 pm

NAME Restart-AzureSiteRecoveryJob



SYNOPSIS

Restarts the Operation in Azure Site Recovery





SYNTAX

Restart-AzureSiteRecoveryJob -Id <string> [<CommonParameters>]



Restart-AzureSiteRecoveryJob -Job <ASRJob> [<CommonParameters>]





DESCRIPTION

Restarts the Operation in Azure Site Recovery . This cmdlet is allowed on failed and cancelled jobs . To know allowed actions on a job look for Allowed

Actions in job object





PARAMETERS

-Id <string>

Id of the Azure Site Recovery Job



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Job <ASRJob>





Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES







Keywords: azure, azuresm, servicemanagement, management, service, site, recovery







-------------------------- EXAMPLE 1 --------------------------



C:\\PS>Restart-AzureSiteRecoveryJob -Id bbf0b839-9aaa-49e1-8354-601c9145966d



ID : bbf0b839-9aaa-49e1-8354-601c9145966d

ClientRequestId : ef42c8b0-640c-4442-960b-349f83d161a5-2014-24-06 14:24:04Z-P

State : Failed

StateDescription : Failed

StartTime : 10/6/2014 9:41:08 AM

EndTime : 10/6/2014 9:41:21 AM

AllowedActions : {Cancel, Restart}

Name : Enable protection

Tasks : {Prerequisites check for enabling protection , Identifying replication target, Enable replication,

Starting initial replication...}

Errors : {CreateProtectionTargetTask}



Description



-----------













RELATED LINKS