Get-DPMTapeDrive
Get-DPMTapeDrive
Retrieves a list of tape drives in a library on a DPM server.
構文
Parameter Set: Default
Get-DPMTapeDrive [-DPMLibrary] <Library[]> [ <CommonParameters>]
詳細説明
The Get-DPMTapeDrive cmdlet retrieves a list of tape drives in a library on a System Center 2012 – Data Protection Manager (DPM) server.
パラメーター
-DPMLibrary<Library[]>
Specifies an array of DPM library objects.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- TapeDrive
注
- For more information, type "
Get-Help Get-DPMTapeDrive -detailed
".
例
Example 1: Retrieve a list of tape drives in a library
This example retrieves a list of the tape drives in all libraries on the server Contoso-DPMServer.
The first command uses the Get-DPMLibrary cmdlet to retrieve the library, and stores the result in the $DPMLib variable.
The second command uses the Get-DPMTapeDrive cmdlet to retrieve a list of tape drives.
PS C:\> $DPMLib = Get-DPMLibrary -DPMServerName "Contoso-DPMServer"
PS C:\> Get-DPMTapeDrive -DPMLibrary $DPMLib