< Back

Start-AzureSiteRecoveryProtectionProfileAssociationJob

Wed Jan 30, 2019 5:55 pm

NAME Start-AzureSiteRecoveryProtectionProfileAssociationJob



SYNOPSIS

Starts the Protection profile association job.





SYNTAX

Start-AzureSiteRecoveryProtectionProfileAssociationJob -PrimaryProtectionContainer <ASRProtectionContainer> -ProtectionProfile <ASRProtectionProfile>

[<CommonParameters>]



Start-AzureSiteRecoveryProtectionProfileAssociationJob -PrimaryProtectionContainer <ASRProtectionContainer> -ProtectionProfile <ASRProtectionProfile>

-RecoveryProtectionContainer <ASRProtectionContainer> [<CommonParameters>]





DESCRIPTION

Starts the Protection profile association job.





PARAMETERS

-ProtectionProfile <ASRProtectionProfile>

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



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PrimaryProtectionContainer <ASRProtectionContainer>

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



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RecoveryProtectionContainer <ASRProtectionContainer>

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



Required? true

Position? named

Default value

Accept pipeline input? false

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



Description



-----------













RELATED LINKS