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
 

Start-AzureSiteRecoveryProtectionProfileAssociationJob

Start-AzureSiteRecoveryProtectionProfileAssociationJob

microsoft.azure.commands.recoveryservices.dll

Synopsis

Starts the Protection profile association job.

Syntax

Start-AzureSiteRecoveryProtectionProfileAssociationJob [-PrimaryProtectionContainer] [-ProtectionProfile] [<CommonParameters>]

Start-AzureSiteRecoveryProtectionProfileAssociationJob [-PrimaryProtectionContainer] [-ProtectionProfile] [-RecoveryProtectionContainer] [<CommonParameters>]

Detailed Description

Starts the Protection profile association job.

Parameters

-ProtectionProfile <ASRProtectionProfile>

Protection profile settings object to be applied on to the protection containers.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PrimaryProtectionContainer <ASRProtectionContainer>

Gets or sets Primary Protection Container to be applied the Protection Profile settings on.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RecoveryProtectionContainer <ASRProtectionContainer>

Gets or sets Recovery Protection Container to be applied the Protection Profile settings on.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

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

C:\PS>

Description

-----------

          Start-AzureSiteRecoveryProtectionProfileAssociationJob -PrimaryProtectionContainer $protectionContainer1 -RecoveryProtectionContainer $protectionContainer2 -ProtectionProfile $protectionProfile

          Name             : MyProtectionProfile
          ID               : 51978b0f-9241-4153-9171-2e19344f0805
          ClientRequestId  : bb6f3200-b7c6-4c6f-bcbc-a70bb9946f03-2015-01-27 22:55:55Z-P
          State            : InProgress
          StateDescription : InProgress
          StartTime        : 1/27/2015 10:56:01 PM
          EndTime          :
          AllowedActions   :
          Tasks            : {Adding the protection group, Configuring Windows Server 2012 R2 Hyper-V hosts for Azure}
          Errors           : {}