Condividi tramite


Get-DPMTapeSlot

Get-DPMTapeSlot

Gets tape slots in the DPM library.

Syntax

Parameter Set: Default
Get-DPMTapeSlot [-DPMLibrary] <Library[]> [ <CommonParameters>]

Detailed Description

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

Parameters

-DPMLibrary<Library[]>

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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • SlotNumber

Examples

Example 1: Retrieve the tape slots in a library

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.

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

Get-DPMLibrary