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 on 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

You can use the following common parameters with any cmdlet.

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

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

Inputs

This cmdlet does not support input.

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