Loading...

Get-CVDiskSpace

The Get-CVDiskSpace cmdlet returns disk space information for a MediaAgent, library, or mount path in your CommCell environment.

Before you can use this cmdlet, you must log in to your CommCell environment using the Connect-CVServer cmdlet. For more information, see Connecting to a CommCell Environment with PowerShell.

Syntax

Get-CVDiskSpace
   [[-MAName] <String>]
   [[-LibraryName] <String>]
   [[-MountPath] <String>]
   [<CommonParameters>]

Required Parameters

You must provide a value for at least one of the following parameters.

-MAName

The name of the MediaAgent.

  • Type: String
  • Aliases: None
  • Default value: None
  • Accepts pipeline input: False
  • Accepts wildcard characters: False
  • Position: 1

-LibraryName

The name of the library on the MediaAgent.

  • Type: String
  • Aliases: None
  • Default value: None
  • Accepts pipeline input: False
  • Accepts wildcard characters: False
  • Position: 2

-MountPath

The name of the mount path on the library.

  • Type: String
  • Required: False
  • Aliases: None
  • Default value: None
  • Accepts pipeline input: False
  • Accepts wildcard characters: False
  • Position: 3

Optional Parameters

<CommonParameters>

A collection of parameters that you can use with any cmdlet.

The following Microsoft PowerShell common parameters are supported:

  • Verbose
  • Debug
  • ErrorAction
  • ErrorVariable
  • WarningAction
  • WarningVariable
  • OutBuffer
  • PipelineVariable
  • OutVariable

For more information, see About CommonParameters in the Microsoft PowerShell documentation.

Inputs

None

This cmdlet does not support any inputs.

Outputs

None

This cmdlet does not return any outputs.

Examples

Example 1: Get Disk Space Information for a MediaAgent

The following example returns disk space information for a MediaAgent in your CommCell environment.

Get-CVDiskSpace -MAName myMediaAgent

Example 2: Get Disk Space Information for a Library

The following example returns disk space information for a library in your CommCell environment.

Get-CVDiskSpace -LibraryName mylibrary

Example 3: Get Disk Space Information for a Mount Path

The following example returns disk space information for a mount path in your CommCell environment.

Get-CVDiskSpace -MountPath myMountPath

Last modified: 3/12/2019 6:45:19 PM