Get-DPMTapeSlot
Gets tape slots in the DPM library.
Syntax
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.
Type: | Library[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
SlotNumber