Skip to content

Commit c891cce

Browse files
author
David Curwin
committed
fixes after review
1 parent 4c2e9bb commit c891cce

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

articles/backup/scripts/backup-powershell-script-undelete-file-share.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ ms.topic: sample
55
ms.date: 02/02/2020
66
---
77

8-
# Powershell script to undelete an accidentally deleted File share
8+
# PowerShell script to undelete an accidentally deleted File share
99

10-
This script helps you to undelete a file share, if you deleted it accidentally. The soft delete security feature for file shares provides you the option of undeleting a file share within the 14 days retention period, allowing recovery of all your file share contents, snapshots, and recovery points. To learn more about soft delete, visit this [link](../soft-delete-afs.md).
10+
This script helps you to undelete a file share, if you deleted it accidentally. The soft delete security feature for file shares provides you the option of undeleting a file share within the 14 days retention period, allowing recovery of all your file share contents, snapshots, and recovery points. To learn more about soft delete, visit this [link](../soft-delete-azure-file-share.md).
1111

1212
## Sample script
1313

@@ -150,7 +150,7 @@ Restore-DeletedFileShare $sa.Context $FileShareName $DeletedShareVersion
150150
### Prerequisites
151151

152152
1. Install the latest Azure PowerShell Az modules from [this link](https://docs.microsoft.com//powershell/azure/install-az-ps?view=azps-3.3.0) before running the script.
153-
2. Keep the following details handy as you will need to pass them as values for different parameters of the script:
153+
2. Keep the following details handy as you'll need to pass them as values for different parameters of the script:
154154

155155
* **-SubscriptionId** - ID of the subscription where the file share is present.
156156
* **-ResourceGroupName** - Resource Group of the Storage Account hosting the file share.
@@ -164,7 +164,7 @@ Restore-DeletedFileShare $sa.Context $FileShareName $DeletedShareVersion
164164

165165
#### Scenario 1
166166

167-
There are no multiple deleted versions with the same name as the file share you are trying to undelete.
167+
There are no multiple deleted versions with the same name as the file share you're trying to undelete.
168168

169169
The following example undeletes the file share *share1* present in storage account *afsshare*.
170170

@@ -176,7 +176,7 @@ The output should show the message `Completed:Restore File Share`
176176

177177
#### Scenario 2
178178

179-
There are multiple deleted versions with the same name as the fileshare you are trying to undelete.
179+
There are multiple deleted versions with the same name as the fileshare you're trying to undelete.
180180

181181
The following example undeletes a version of the file share *share1*
182182

articles/backup/scripts/disable-soft-delete-for-file-shares.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Follow these steps:
4545
}
4646
```
4747

48-
3. Keep your storage account ARM Id handy. For example: `/subscriptions/37aa2d43-d4f5-4322-bae0-6ee11c627f50/resourceGroups/afsshare/providers/Microsoft.Storage/storageAccounts/inquirytest`
48+
3. Keep your storage account Azure Resource Manager (ARM) ID handy. For example: `/subscriptions/37aa2d43-d4f5-4322-bae0-6ee11c627f50/resourceGroups/afsshare/providers/Microsoft.Storage/storageAccounts/inquirytest`
4949

5050
4. Sign in using your credentials by running **armclient login**.
5151

File renamed without changes.

articles/backup/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
- name: For SQL Server and SAP HANA in Azure VMs
357357
href: soft-delete-sql-saphana-in-azure-vm.md
358358
- name: Delete protection for Azure file shares
359-
href: soft-delete-afs.md
359+
href: soft-delete-azure-file-share.md
360360
- name: Security for hybrid backups
361361
href: backup-azure-security-feature.md
362362
- name: Private Endpoints

0 commit comments

Comments
 (0)