Loading...

Get-CVLibrary

The Get-CVLibrary cmdlet returns the libraries in your CommCell environment.

If you do not provide any parameters, Get-CVLibrary returns all of the libraries 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-CVLibrary
   [[-MAName] <String>]
   [[-LibraryName] <String>]
   [<CommonParameters>]

Optional 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

<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 the Libraries in the CommCell Environment

The following example returns the name and id of all of the libraries in your CommCell environment.

Get-CVLibrary

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