1

I am trying to use the '-ReplicationGroupName' parameter on the 'New-AzureRmRecoveryServicesAsrReplicationProtectedItem' cmdlet, however, I am struggling to understand exactly how it should be used...

I am trying to use it with the '-HyperVToAzure' switch but I receive the error;

"Parameter set cannot be resolved using the specified named parameters"

Which seems to suggest that the '-ReplicationGroupName' parameter can only be used in conjunction with the '-VMwareToAzure' switch. Is this correct? Is there any way of using ASR Replication Groups with Hyper-V (or physical) protected items?

Or have I misunderstood the use of this parameter completely and should be looking at something else entirely...?!

jamesmealing
  • 19
  • 2
  • 8

1 Answers1

0

It is only for “VMware to Azure” and “Azure to Azure”. There is no replication group construct in “Hyper-V to Azure”.

  • I see. Thank you for the reply. Does this mean that it is simply not possible to use multi-VM consistent recovery points with Hyper-V (or physical) infrastructure then or is this achievable via alternative methods? Could the "New-AzureRmRecoveryServicesAsrRecoveryPlan" cmdlet be used for this for example? – jamesmealing Dec 17 '18 at 14:05
  • @jamesmealing, Replication group is only supported for “VMware” and “Physical” servers. It is not supported for Hyper-V VMs. – SadiqhAhmed-MSFT Dec 20 '18 at 04:02