Skip to content

Commit b7b0e73

Browse files
authored
Merge pull request #206102 from v-pgaddala/v2acs
updated the V2A CS commands
2 parents 97e816b + 8421e46 commit b7b0e73

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/site-recovery/physical-manage-configuration-server.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: site-recovery
55
author: v-pgaddala
66
ms.service: site-recovery
77
ms.topic: article
8-
ms.date: 02/28/2019
8+
ms.date: 07/27/2022
99
ms.author: v-pgaddala
1010
---
1111

@@ -265,22 +265,22 @@ Upgrade the server as follows:
265265
1. [Install](/powershell/azure/install-Az-ps) Azure PowerShell module
266266
2. Login into to your Azure account using the command
267267
268-
`Connect-AzAccount`
268+
`Connect-AzAccount –UseDeviceAuthentication`
269269
3. Select the subscription under which the vault is present
270270
271-
`Get-AzSubscription –SubscriptionName <your subscription name> | Select-AzSubscription`
271+
`Get-AzSubscription –SubscriptionName <your subscription name> | SelectAzSubscription`
272272
3. Now set up your vault context
273273
274274
```powershell
275-
$Vault = Get-AzRecoveryServicesVault -Name <name of your vault>
276-
Set-AzRecoveryServicesVaultContext -Vault $Vault
275+
$vault = GetAzRecoveryServicesVault Name <name of your vault>
276+
Set-AzRecoveryServicesAsrVaultContext –Vault $vault
277277
```
278278
4. Get select your configuration server
279279
280-
`$Fabric = Get-AzRecoveryServicesAsrFabric -FriendlyName <name of your configuration server>`
280+
`$Fabric = GetAzRecoveryServicesAsrFabric FriendlyName <name of your configuration server>`
281281
6. Delete the Configuration Server
282282
283-
`Remove-AzRecoveryServicesAsrFabric -Fabric $Fabric [-Force]`
283+
`RemoveAzRecoveryServicesAsrFabric Fabric $Fabric Force`
284284
285285
> [!NOTE]
286286
> The **-Force** option in the Remove-AzRecoveryServicesAsrFabric can be used to force the removal/deletion of the Configuration server.

0 commit comments

Comments
 (0)