< Back

Resume-AzureSiteRecoveryJob

Wed Jan 30, 2019 5:52 pm

NAME Resume-AzureSiteRecoveryJob



SYNOPSIS

Resumes a suspended job in Azure Site Recovery





SYNTAX

Resume-AzureSiteRecoveryJob -Id <string> [-Comments <string>] [<CommonParameters>]



Resume-AzureSiteRecoveryJob -Job <ASRJob> [-Comments <string>] [<CommonParameters>]





DESCRIPTION

Resumes the Operation in Azure Site Recovery . This cmdlet is allowed on suspended jobs . To know allowed actions on a job look for Allowed Actions in

job object





PARAMETERS

-Comments <string>

User comment can be specified while resuming the Job



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Id <string>

ID of the Azure Site Recovery Job



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Job <ASRJob>

ASR Job object



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>$jobs= Get-AzureSiteRecoveryJob; Resume-AzureSiteRecoveryJob -Job $jobs



ID : d16397fb-cdf1-4972-b677-c333f3c557b4

ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P

State : Suspended

StateDescription : WaitingForManualAction

StartTime : 10/6/2014 10:19:28 AM

EndTime : 10/6/2014 10:19:31 AM

AllowedActions : {Cancel, RestartTestFailoverCleanup}

Name : Test failover

Tasks : {Recovery plan preflight checks, Create test environment, All groups failover: Pre steps (1),

Recovery plan failover...}

Errors : {}



Description



-----------













RELATED LINKS