Enable-DPMLibrary
Enable-DPMLibrary
Enables DPM libraries.
構文
Parameter Set: Default
Enable-DPMLibrary [-DPMLibrary] <Library[]> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Enable-DPMLibrary cmdlet enables one or more System Center 2012 – Data Protection Manager (DPM) libraries. You can use the Disable-DPMLibrary cmdlet to disable a tape library in order to perform maintenance or repairs, and then use this cmdlet to enable it for use.
パラメーター
-DPMLibrary<Library[]>
Specifies an array of DPM library objects. To obtain a DPM library object, use the Get-DPMLibrary cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-PassThru
Indicates that the cmdlet generates output. By default, this cmdlet does not generate output. You can use the PassThru parameter in order to use the cmdlet in a pipeline.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Library
注
- For more information, type "
Get-Help Enable-DPMLibrary -detailed
".
例
Example 1: Enable libraries for a named server
This example enables the libraries associated with the server named DPMServer07. The first command uses the Get-DPMLibrary cmdlet to get the tape libraries for the specified server, and stores those objects in the $DPMLib variable.
The second command enables the libraries stored in the $DPMLib variable.
PS C:\> $DPMLib = Get-DPMLibrary -DPMServerName "DPMServer07"
PS C:\> Enable-DPMLibrary -DPMLibrary $DPMLib