Skip to content

Commit 5069605

Browse files
Jak-MSkhdownie
andauthored
Apply suggestions from code review
Co-authored-by: Ken Downie <[email protected]>
1 parent c83b09c commit 5069605

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/storage/files/storage-snapshots-files.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ Before you deploy the share snapshot scheduler, carefully consider your share sn
9393

9494
Share snapshots provide only file-level protection. Share snapshots don't prevent fat-finger deletions on a file share or storage account. To help protect a storage account from accidental deletions, you can either [enable soft delete](storage-files-prevent-file-share-deletion.md), or lock the storage account and/or the resource group.
9595

96-
**Powershell command to delete multiple snapshots.**
96+
## Delete multiple snapshots
97+
98+
Use the following PowerShell script to delete multiple file share snapshots. Be sure to replace **storageaccount_name**, **resource-GROUP**, and **sharename** with your own values.
99+
97100
```powerShell
98101
$storageAccount = "storageaccount_name" 
99102
$RG = "resource-GROUP" $sharename = "sharename"

0 commit comments

Comments
 (0)