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
 

Stop-AzureSiteRecoveryJob

Stop-AzureSiteRecoveryJob

microsoft.azure.commands.recoveryservices.dll

Synopsis

Stops the Azure Site Recovery Job. Specify a running Job only.

Syntax

Stop-AzureSiteRecoveryJob [-Id] [<CommonParameters>]

Stop-AzureSiteRecoveryJob [-Job] [<CommonParameters>]

Detailed Description

Parameters

-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; Stop-AzureSiteRecoveryJob -Job $jobs