Object

Read-NetstorageObject

Synopsis

Download a file from NetStorage.

Syntax

Read-NetstorageObject [-RemotePath] <String> [-LocalPath <String>] [-AuthFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Downloads a NetStorage file from its remote path to a local path on your local machine.

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 ~/.nsrc, but environment variables will take precedence.

‑LocalPath

The location of the file you wish to upload.

‑RemotePath
Required

The remote location you wish to upload your file to. The Upload Directory prefix isn't required.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links