Start-AzRecoveryServicesAsrResynchronizeReplicationJob
Starts replication resynchronization.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Start-AzRecoveryServicesAsrResynchronizeReplicationJob
-ReplicationProtectedItem <ASRReplicationProtectedItem>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Start-AzRecoveryServicesAsrResynchronizeReplicationJob
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Start-AzRecoveryServicesAsrResynchronizeReplicationJob cmdlet start resynchronization of replication for the specified protected item if the protected is in a resynchronization required state.
Examples
Example 1
Start-AzRecoveryServicesAsrResynchronizeReplicationJob -ReplicationProtectedItem $rpi
Starts job to resynchronize replication on passed replication protected item.
Parameters
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 |
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
ASR replication protected item to resynchronize replication for.
| Type: | ASRReplicationProtectedItem |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Resource Id of replication protected item to resynchronize.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
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 |