Directory
Remove-NetstorageDirectory
Synopsis
Delete a NetStorage directory.
Syntax
Remove-NetstorageDirectory [-Path] <String> [-DirectoryIsEmpty] [-Force] [-AuthFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Deletes a NetStorage directory either by using the -DirectoryIsEmpty (rmdir) switch parameter to indicate that the directory is empty or by using the quick-delete feature if it�s enabled on your NetStorage group. If using quick-delete, you can optionally provide the -Force switch to avoid receiving confirmation.
Note: You don't need to prepend paths with the upload directory CP Code, this is implied.
Parameters
| ‑AuthFile | A location of your NetStorage auth file. Defaults to  | 
| ‑DirectoryIsEmpty | Instructs PowerShell to use the  | 
| ‑Force | Doesn't prompt for confirmation before performing the delete. | 
| ‑PathRequired | A path of your directory within the NetStorage group. | 
| ‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to  | 
Related Links
Updated 3 months ago
