Resume- Azure Rm Recovery Services Asr Job

Tuesday, August 29th, 2017 - Resume

Resumes a suspended Azure Site Recovery job.

Syntax

Resume-AzureRmRecoveryServicesAsrJob
      [-Comment ]
      -InputObject 
      [-Confirm]
      [-WhatIf]
      []
Resume-AzureRmRecoveryServicesAsrJob
      [-Comment ]
      -Name 
      [-Confirm]
      [-WhatIf]
      []

Description

The Resume-AzureRmRecoveryServicesAsrJob cmdlet resumes a suspended Azure Site Recovery job.

Examples

Example 1

PS C:> $currentJob = Resume-AzureRmRecoveryServicesAsrJob -Job $Job

Resume the specified job if it is in a waiting or suspended state and return the updated ASR job object corresponding to the ASR job.

Required Parameters

-InputObject

The input object to the cmdlet: The ASR Job object corresponding to the job to be resumed.

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

-Name

Specify the ASR job by name.

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

Optional Parameters

-Comment

Comments for the job log.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Aliases: cf
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Aliases: wi
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Inputs

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob

Outputs

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob

This article is reprinted by permission from
Source link

Resume- Azure Rm Recovery Services Asr Job | Best Of Resume | 4.5