Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a list of drives in a library on a DPM server.
Get-TapeDrive [-DPMLibrary] <Library> [<CommonParameters>]
The Get-TapeDrive cmdlet returns a list of drives in a library on a DPM server.
A DPM library object.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
0 |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.
For more information, type "Get-Help Get-TapeDrive -detailed".
For technical information, type "Get-Help Get-TapeDrive -full".Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.
$DPMLib = Get-DPMLibrary -DPMServerName "TestingServer"
Get-TapeDrive -DPMLibrary $DPMLib
This command returns the tape drive in all libraries on TestingServer.