Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Resume-AzureSiteRecoveryJob

Resume-AzureSiteRecoveryJob

microsoft.azure.commands.recoveryservices.dll

Synopsis

Resumes a suspended job in Azure Site Recovery

Syntax

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

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

Detailed 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

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Id <string>

ID of the Azure Site Recovery Job

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Job <ASRJob>

ASR Job object

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

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

C:\PS>

Description

-----------

          $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           : {}