Object

Remove-NetstorageObject

Synopsis

Delete a NetStorage object.

Syntax

Remove-NetstorageObject [-Path] <String> [-AuthFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Removes a file from NetStorage by its path.

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.

‑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