Directory usage

Get-NetstorageDirectoryUsage

Synopsis

Get directory usage.

Syntax

Get-NetstorageDirectoryUsage [-Path] <String> [-AuthFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Retrieves disk usage information for a specified directory in a NetStorage storage group.

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