Skip to content

Commit 375d22e

Browse files
authored
Fixed examples of Set-AzRecoveryServicesAsrReplicationProtectedItem (Azure#16790)
1 parent 9ce5079 commit 375d22e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesAsrReplicationProtectedItem.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,39 +63,39 @@ Starts the operation of updating the replication protected item primary NIC(to u
6363

6464
### Example 4
6565
```
66-
PS C:\>Set-ASRReplicationProtectedItem -InputObject $rpi -UpdateNic $updateNic -RecoveryNetworkId $recoveryNetworkId -RecoveryNicSubnetName $recoveryNicSubnetName-NicSelectionType SelectedByUser
66+
PS C:\> Set-AzRecoveryServicesAsrReplicationProtectedItem -InputObject $rpi -UpdateNic $updateNic -RecoveryNetworkId $recoveryNetworkId -RecoveryNicSubnetName $recoveryNicSubnetName -NicSelectionType SelectedByUser
6767
```
6868

6969
Starts the operation of updating the replication protected item NIC (to used for recovered vm )settings using the specified parameters and returns the ASR job used to track the operation.
7070

7171
### Example 5
7272
```
73-
PS C:\> $currentJob = Set-AzureRmRecoveryServicesAsrReplicationProtectedItem -InputObject $ rpi -UpdateNic $updateNic `
73+
PS C:\> $currentJob = Set-AzRecoveryServicesAsrReplicationProtectedItem -InputObject $rpi -UpdateNic $updateNic `
7474
-RecoveryNetworkId $recoveryNetworkId -RecoveryNicSubnetName $recoveryNicSubnetName -EnableAcceleratedNetworkingOnRecovery
7575
```
7676

7777
Starts the operation of updating the replication protected item selected noc tp enable accelerated networking on recovery VM(for Azure to Azure disaster recovery).
78-
Dont pass -EnableAcceleratedNetworkingOnRecovery to disable accelerated Networking.
78+
Don't pass -EnableAcceleratedNetworkingOnRecovery to disable accelerated Networking.
7979

8080
### Example 6
8181
```
82-
PS C:\> $currentJob = Set-AzureRmRecoveryServicesAsrReplicationProtectedItem -InputObject $ rpi `
83-
-DiskEncryptionVaultId $DiskEncryptionVaultId -DiskEncryptionSecertUrl $DiskEncryptionSecertUrl `
84-
-KeyEncryptionVaultId $KeyEncryptionVaultId -KeyEncryptionKeyUrl $KeyEncryptionKeyUrl
82+
PS C:\> $currentJob = Set-AzRecoveryServicesAsrReplicationProtectedItem -InputObject $rpi `
83+
-DiskEncryptionVaultId $DiskEncryptionVaultId -DiskEncryptionSecertUrl $DiskEncryptionSecertUrl `
84+
-KeyEncryptionVaultId $KeyEncryptionVaultId -KeyEncryptionKeyUrl $KeyEncryptionKeyUrl
8585
```
8686

8787
Start the update operation for the specified encrypted replication protected item to use supplied encryption details for failover VM.
8888

8989
### Example 7
9090
```
91-
PS C:\> $currentJob = Set-AzureRmRecoveryServicesAsrReplicationProtectedItem -InputObject $ rpi -RecoveryProximityPlacementGroupId $ppg
91+
PS C:\> $currentJob = Set-AzRecoveryServicesAsrReplicationProtectedItem -InputObject $rpi -RecoveryProximityPlacementGroupId $ppg
9292
```
9393

9494
Start the update operation for the specified replication protected item to use the supplied proximity placement group for failover VM.
9595

9696
### Example 8
9797
```
98-
PS C:\> $currentJob = Set-AzureRmRecoveryServicesAsrReplicationProtectedItem -InputObject $ rpi -RecoveryVirtualMachineScaleSetId $vmss
98+
PS C:\> $currentJob = Set-AzRecoveryServicesAsrReplicationProtectedItem -InputObject $rpi -RecoveryVirtualMachineScaleSetId $vmss
9999
```
100100

101101
Start the update operation for the specified replication protected item to use the supplied virtual machine scale set for failover VM.

0 commit comments

Comments
 (0)