Edit

Share via


Update-AzRecoveryServicesAsrProtectionDirection

Updates the replication direction for the specified replication protected item or recovery plan. Used to re-protect/reverse replicate a failed over replicated item or recovery plan.

Syntax

ByRPIObject (Default)

Update-AzRecoveryServicesAsrProtectionDirection
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    -Direction <String>
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

AzureToVMware

Update-AzRecoveryServicesAsrProtectionDirection
    -DataStore <ASRDataStore>
    -ProcessServer <ASRProcessServer>
    -ProtectionContainerMapping <ASRProtectionContainerMapping>
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    -Direction <String>
    -RetentionVolume <ASRRetentionVolume>
    [-AzureToVMware]
    [-Account <ASRRunAsAccount>]
    [-MasterTarget <ASRMasterTargetServer>]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

VMwareToAzure

Update-AzRecoveryServicesAsrProtectionDirection
    -Account <ASRRunAsAccount>
    -ProcessServer <ASRProcessServer>
    -ProtectionContainerMapping <ASRProtectionContainerMapping>
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    -Direction <String>
    [-VMwareToAzure]
    [-MasterTarget <ASRMasterTargetServer>]
    [-LogStorageAccountId <String>]
    [-RecoveryAzureStorageAccountId <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ReplicateAzureToVMware

Update-AzRecoveryServicesAsrProtectionDirection
    -ProtectionContainerMapping <ASRProtectionContainerMapping>
    -DataStoreName <String>
    -ApplianceName <String>
    -Fabric <ASRFabric>
    -LogStorageAccountId <String>
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    -Direction <String>
    [-ReplicateAzureToVMware]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ReplicateVMwareToAzure

Update-AzRecoveryServicesAsrProtectionDirection
    -SiteId <String>
    -CredentialsToAccessVm <String>
    -ProtectionContainerMapping <ASRProtectionContainerMapping>
    -ApplianceName <String>
    -Fabric <ASRFabric>
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    -Direction <String>
    [-ReplicateVMwareToAzure]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

HyperVToAzure

Update-AzRecoveryServicesAsrProtectionDirection
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    -Direction <String>
    [-HyperVToAzure]
    [-LogStorageAccountId <String>]
    [-RecoveryAzureStorageAccountId <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

EnterpriseToEnterprise

Update-AzRecoveryServicesAsrProtectionDirection
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    -Direction <String>
    [-VmmToVmm]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

AzureToAzure

Update-AzRecoveryServicesAsrProtectionDirection
    -ProtectionContainerMapping <ASRProtectionContainerMapping>
    -LogStorageAccountId <String>
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    [-AzureToAzure]
    [-RecoveryAzureStorageAccountId <String>]
    [-RecoveryResourceGroupId <String>]
    [-RecoveryCloudServiceId <String>]
    [-RecoveryAvailabilitySetId <String>]
    [-RecoveryProximityPlacementGroupId <String>]
    [-RecoveryVirtualMachineScaleSetId <String>]
    [-RecoveryCapacityReservationGroupId <String>]
    [-RecoveryBootDiagStorageAccountId <String>]
    [-DiskEncryptionVaultId <String>]
    [-DiskEncryptionSecretUrl <String>]
    [-KeyEncryptionKeyUrl <String>]
    [-KeyEncryptionVaultId <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

AzureToAzureWithMultipleStorageAccount

Update-AzRecoveryServicesAsrProtectionDirection
    -ProtectionContainerMapping <ASRProtectionContainerMapping>
    -AzureToAzureDiskReplicationConfiguration <ASRAzuretoAzureDiskReplicationConfig[]>
    -ReplicationProtectedItem <ASRReplicationProtectedItem>
    [-AzureToAzure]
    [-RecoveryResourceGroupId <String>]
    [-RecoveryCloudServiceId <String>]
    [-RecoveryAvailabilitySetId <String>]
    [-RecoveryProximityPlacementGroupId <String>]
    [-RecoveryVirtualMachineScaleSetId <String>]
    [-RecoveryCapacityReservationGroupId <String>]
    [-RecoveryBootDiagStorageAccountId <String>]
    [-DiskEncryptionVaultId <String>]
    [-DiskEncryptionSecretUrl <String>]
    [-KeyEncryptionKeyUrl <String>]
    [-KeyEncryptionVaultId <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByRPObject

Update-AzRecoveryServicesAsrProtectionDirection
    -RecoveryPlan <ASRRecoveryPlan>
    -Direction <String>
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByPEObject

Update-AzRecoveryServicesAsrProtectionDirection
    -Direction <String>
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Update-AzRecoveryServicesAsrProtectionDirection cmdlet updates the replication direction for the specified Azure Site Recovery object after the completion of a commit failover operation.

Examples

Example 1

$currentJob = Update-AzRecoveryServicesAsrProtectionDirection -RecoveryPlan $RP -Direction PrimaryToRecovery

Start the update direction operation for the specified recovery plan and returns the ASR job object used to track the operation.

Example 2

$currentJob = Update-AzRecoveryServicesAsrProtectionDirection -AzureToAzure -ProtectionContainerMapping $B2ApcmMapping -LogStorageAccountId $cacheStorageId `
 -ReplicationProtectedItem $rpi

Start the update direction operation for the specified replication protected item in target azure region defined by protection container mapping and using cache storage (in same region as VM).

Example 3

$currentJob = Update-AzRecoveryServicesAsrProtectionDirection -AzureToAzure -ProtectionContainerMapping $B2ApcmMapping `
 -AzureToAzureDiskReplicationConfiguration $disk1,$disk2 -ReplicationProtectedItem  $rpi

Start the update direction operation for the specified replication protected item in target azure region defined by protection container mapping and provided disk replication configuration.

Example 4

$currentJob = Update-AzRecoveryServicesAsrProtectionDirection -AzureToAzure -ProtectionContainerMapping $B2ApcmMapping `
 -AzureToAzureDiskReplicationConfiguration $disk1,$disk2 -ReplicationProtectedItem  $rpi `
 -DiskEncryptionVaultId  $DiskEncryptionVaultId -DiskEncryptionSecretUrl $DiskEncryptionSecretUrl `
 -KeyEncryptionVaultId $KeyEncryptionVaultId  -KeyEncryptionKeyUrl $KeyEncryptionKeyUrl

Start the update direction operation for the specified encrypted replication protected item in target azure region defined by protection container mapping and provided disk replication configuration.

Example 5

$currentJob = Update-AzRecoveryServicesAsrProtectionDirection -AzureToAzure -ProtectionContainerMapping $B2ApcmMapping -LogStorageAccountId $cacheStorageId `
 -ReplicationProtectedItem $rpi -RecoveryProximityPlacementGroupId $ppg

Start the update direction operation for the specified replication protected item in target azure region defined by protection container mapping and using cache storage (in same region as VM) and proximity placement group.

Example 6

$currentJob = Update-AzRecoveryServicesAsrProtectionDirection -AzureToAzure -ProtectionContainerMapping $B2ApcmMapping -LogStorageAccountId $cacheStorageId `
 -ReplicationProtectedItem $rpi -RecoveryVirtualMachineScaleSetId $vmss

Start the update direction operation for the specified replication protected item in target azure region defined by protection container mapping and using cache storage (in same region as VM) and virtual machine scale set.

Parameters

-Account

The run as account to be used to push install the Mobility service if needed. Must be one from the list of run as accounts in the ASR fabric.

Parameter properties

Type:ASRRunAsAccount
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToVMware
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ApplianceName

Specifies the name of appliance to be used to replicate this machine.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ReplicateAzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateVMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzureToAzure

Specifies the Azure to Azure disaster recovery.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzureToAzureDiskReplicationConfiguration

Specifies the disk configuration for disaster recovery.

Parameter properties

Type:

ASRAzuretoAzureDiskReplicationConfig[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzureToVMware

Specifies the switch azure to vMWare scenario.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToVMware
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CredentialsToAccessVm

Specifies the name of credentials to be used to push install the Mobility service on source machine if needed.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ReplicateVMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DataStore

The VMware data-store to be used for the vmdisk's.

Parameter properties

Type:ASRDataStore
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DataStoreName

Name of the VMware data store to be used for the VM disk's.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ReplicateAzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultProfile

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

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Direction

Specifies the direction to be used for the update operation post a failover. The acceptable values for this parameter are:

  • PrimaryToRecovery
  • RecoveryToPrimary

Parameter properties

Type:String
Default value:None
Accepted values:PrimaryToRecovery, RecoveryToPrimary
Supports wildcards:False
DontShow:False

Parameter sets

ByRPIObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
VMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateAzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateVMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
EnterpriseToEnterprise
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ByRPObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ByPEObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DiskEncryptionSecretUrl

Specifies the disk encryption secret URL with version(Azure disk encryption) to be used be recovery VM after failover.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DiskEncryptionVaultId

Specifies the disk encryption secret vault ID(Azure disk encryption) to be used be recovery VM after failover.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Fabric

Specifies the ASR Fabric object.

Parameter properties

Type:ASRFabric
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ReplicateAzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateVMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HyperVToAzure

Reprotect a Hyper-V virtual machine after failback.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

HyperVToAzure
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-KeyEncryptionKeyUrl

Specifies the disk encryption key URL(Azure disk encryption) to be used be recovery VM after failover.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-KeyEncryptionVaultId

Specifies the disk encryption key keyVault ID(Azure disk encryption) to be used be recovery VM after failover.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LogStorageAccountId

Specifies the storage account ID to store the replication log of VMs.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

VMwareToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MasterTarget

Master Target Server Details.

Parameter properties

Type:ASRMasterTargetServer
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToVMware
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
VMwareToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProcessServer

Process Server to be used for replication.

Parameter properties

Type:ASRProcessServer
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
VMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProtectionContainerMapping

Protection containerMapping to be used for replication.

Parameter properties

Type:ASRProtectionContainerMapping
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
VMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateAzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateVMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryAvailabilitySetId

The availability set that the virtual machine should be created in upon failover

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryAzureStorageAccountId

Specifies the ID of the Azure storage account to replicate to.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

VMwareToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryBootDiagStorageAccountId

Specifies the storage account for boot diagnostics for recovery azure VM.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryCapacityReservationGroupId

Specify the capacity reservation group Id to be used by the failover VM in target recovery region.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryCloudServiceId

The resource ID of the recovery cloud service to failover this virtual machine to.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryPlan

Specifies an ASR recovery plan object.

Parameter properties

Type:ASRRecoveryPlan
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByRPObject
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryProximityPlacementGroupId

The resource ID of the recovery proximity placement group to failover this virtual machine to.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryResourceGroupId

Recovery resourceGroup id for protected Vm.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryVirtualMachineScaleSetId

Specifies the recovery virtual machine scale set id.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToAzure
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReplicateAzureToVMware

Switch parameter specifying Azure to VMware replication scenario..

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ReplicateAzureToVMware
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReplicateVMwareToAzure

Switch parameter specifying VMware to Azure replication scenario..

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ReplicateVMwareToAzure
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReplicationProtectedItem

Specifies an ASR replication protected item.

Parameter properties

Type:ASRReplicationProtectedItem
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByRPIObject
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToVMware
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
VMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateAzureToVMware
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
ReplicateVMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVToAzure
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
EnterpriseToEnterprise
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzure
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
AzureToAzureWithMultipleStorageAccount
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-RetentionVolume

Retention Volume on the master target server to be used.

Parameter properties

Type:ASRRetentionVolume
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AzureToVMware
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SiteId

Specifies the VMware site Id where the protectable item was discovered. Use site Id from fabric specific details in the ASR fabric to specify one.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ReplicateVMwareToAzure
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VmmToVmm

Update replication direction for a failed over Hyper-V virtual machine that is protected between two VMM managed Hyper-V sites.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

EnterpriseToEnterprise
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMwareToAzure

Update replication direction from VMware to Azure.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

VMwareToAzure
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

ASRRecoveryPlan

ASRReplicationProtectedItem

Outputs

ASRJob