You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/scripts/backup-powershell-script-undelete-file-share.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ ms.topic: sample
5
5
ms.date: 02/02/2020
6
6
---
7
7
8
-
# Powershell script to undelete an accidentally deleted File share
8
+
# PowerShell script to undelete an accidentally deleted File share
9
9
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).
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:
154
154
155
155
***-SubscriptionId** - ID of the subscription where the file share is present.
156
156
***-ResourceGroupName** - Resource Group of the Storage Account hosting the file share.
Copy file name to clipboardExpand all lines: articles/backup/scripts/disable-soft-delete-for-file-shares.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Follow these steps:
45
45
}
46
46
```
47
47
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`
49
49
50
50
4. Sign in using your credentials by running **armclient login**.
0 commit comments