Directory

New-NetstorageDirectory

Synopsis

Create an explicit NetStorage directory.

Syntax

New-NetstorageDirectory [-Path] <String> [-NSRCFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a new explicit directory in a storage group.

Notes:

  • With object storage systems such as NetStorage, implicit directories are created automatically when creating objects.
  • 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.

‑Path
Required

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 default.

Related Links


Did this page help you?