Skip to content

Commit d56bf00

Browse files
Merge pull request #294590 from AbhishekMallick01/Feb-13-2025-EEE2
EEE doc task #31087464
2 parents b75b6c6 + 2408675 commit d56bf00

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/backup/backup-client-automation.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use PowerShell to back up Windows Server to Azure
33
description: In this article, learn how to use PowerShell to set up Azure Backup on Windows Server or a Windows client, and manage backup and recovery.
44
ms.topic: how-to
5-
ms.date: 12/10/2024
5+
ms.date: 02/28/2025
66
ms.service: azure-backup
77
ms.custom: devx-track-azurepowershell, has-azure-ad-ps-ref, engagement-fy24
88
author: jyothisuri
@@ -32,7 +32,7 @@ The following steps lead you through creating a Recovery Services vault. A Recov
3232
2. The Recovery Services vault is an Azure Resource Manager resource, so you need to place it within a Resource Group. You can use an existing resource group, or create a new one. When creating a new resource group, specify the name and location for the resource group.
3333
3434
```powershell
35-
New-AzResourceGroup Name "test-rg" –Location "WestUS"
35+
New-AzResourceGroup -Name "test-rg" –Location "WestUS"
3636
```
3737
3838
3. Use the **New-AzRecoveryServicesVault** cmdlet to create the new vault. Be sure to specify the same location for the vault as was used for the resource group.
@@ -49,8 +49,9 @@ The following steps lead you through creating a Recovery Services vault. A Recov
4949
>
5050
5151
```powershell
52-
$Vault1 = Get-AzRecoveryServicesVault Name "testVault"
52+
$Vault1 = Get-AzRecoveryServicesVault -Name "testVault"
5353
Set-AzRecoveryServicesBackupProperties -Vault $Vault1 -BackupStorageRedundancy GeoRedundant
54+
5455
```
5556
5657
## View the vaults in a subscription

0 commit comments

Comments
 (0)