< Back

Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob

Tue Jan 29, 2019 10:02 pm

NAME Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob



SYNOPSIS

Starts replication resynchronization.





SYNTAX

Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob [-Confirm] [-DefaultProfile <IAzureContextContainer>] -ReplicationProtectedItem

<ASRReplicationProtectedItem> [-WhatIf] [<CommonParameters>]



Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob [-Confirm] [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob cmdlet start resynchronization of replication for the specified protected item if

the protected is in a resynchronization required state.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ReplicationProtectedItem <ASRReplicationProtectedItem>

ASR replication protected item to resynchronize replication for.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-ResourceId <String>

Resource Id of replication protected item to resynchronize.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRReplicationProtectedItem







OUTPUTS

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob







NOTES









Example 1



PS C:\\> Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob -ReplicationProtectedItem $rpi



Starts job to resynchronize replication on passed replication protected item.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... resynchron

Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob