Directory
Read-NetstorageDirectory
Synopsis
Download a directory from NetStorage.
Syntax
Read-NetstorageDirectory [-Path] <String> [-Prefix <String>] -OutputDirectory <String> [-StartPath <String>] [-EndPath <String>] [-MaxEntries <Int32>] [-Encoding <String>] [-SlashBoth] [-AuthFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Read-NetstorageDirectory [-Path] <String> [-Recurse] -OutputDirectory <String> [-StartPath <String>] [-EndPath <String>] [-MaxEntries <Int32>] [-Encoding <String>] [-SlashBoth] [-AuthFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Downloads all files found in a given NetStorage path, either with a single top-level directory or recursively into all child folders. NetStorage folder structure is replicated locally.
Parameters
‑AuthFile |
A location of your NetStorage auth file. Defaults to |
‑Encoding |
A specific encoding to use when requesting a response, for example, |
‑EndPath |
A complete path to the last object to return in the list response. All other objects that exist after the noted path are left out of the response. The zero |
‑MaxEntries |
A limit on the number of entries returned. |
‑OutputDirectory Required |
The path to the directory in which to place the new |
‑Path Required |
A path of your directory within the NetStorage group. |
‑Prefix |
Lists files whose names begin with the specified prefix. |
‑Recurse |
Uses the |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑SlashBoth |
Sets an additional |
‑StartPath |
The first file in the directory whose name is greater than or equal to this value. This value is appended to the prefix if that field is also included. |
Related Links
Updated 11 days ago