Share via


Get-DPMTapeSlot

Gets tape slots in the DPM library.

Syntax

Default (Default)

Get-DPMTapeSlot
    [-DPMLibrary] <Library[]>
    [<CommonParameters>]

Description

The Get-DPMTapeSlot cmdlet gets tape slots in the System Center - Data Protection Manager (DPM) library.

Examples

Example 1: Retrieve the tape slots in a library

PS C:\>$DpmLibrary = Get-DPMLibrary -DPMServerName "Contoso-DPMServer"
PS C:\> Get-DPMTapeSlot -DPMLibrary $DpmLibrary

The first command uses the Get-DPMLibrary cmdlet to retrieve the library for the server named Contoso-DPMServer, and then stores the result in the $DpmLibrary variable.

The second command gets the tape slots for the library.

Parameters

-DPMLibrary

Specifies an array of DPM library objects. This cmdlet gets tape slots for the libraries that this cmdlet specifies. To obtain a DPM library object, use the Get-DPMLibrary cmdlet.

Parameter properties

Type:

Library[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

SlotNumber