Unlock-DPMLibraryDoor

Unlock-DPMLibraryDoor

Unlocks the door of a DPM library.

構文

Parameter Set: Default
Unlock-DPMLibraryDoor [-DPMLibrary] <Library> [[-Timeout] <Int32> ] [-Async] [-DoorAccessJobStateChangeEventHandler <Library+DoorAccessJobStateChangeEventHandler> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Unlock-DPMLibraryDoor cmdlet unlocks the door of a System Center 2012 – Data Protection Manager (DPM) library.

パラメーター

-Async

Indicates that the command runs asynchronously. When you run a command asynchronously, the command prompt returns immediately even if the job takes an extended time to finish.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-DoorAccessJobStateChangeEventHandler<Library+DoorAccessJobStateChangeEventHandler>

Specifies an event handler for certain door access events. You can use this parameter to update a GUI that runs in Windows PowerShell, but do not use it in the Windows PowerShell console.

エイリアス

Handler

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-DPMLibrary<Library>

Specifies a DPM library object. To obtain a DPM library object, use the Get-DPMLibrary cmdlet.

エイリアス

none

必須?

true

位置は?

1

既定値

none

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-Timeout<Int32>

Specifies a time-out period, in seconds, for the unlock action. If the operation times out, the door locks automatically.

エイリアス

none

必須?

false

位置は?

2

既定値

none

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

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)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • For more information, type "Get-Help Unlock-DPMLibraryDoor -detailed".

Example 1: Unlock a library door

This example unlocks a library door for a library associated with the server named DPMServer07. The first command gets a library associated with the server, and stores the library object in the $DPMLib variable.

The second command unlocks the library door for the library object stored in the $DPMLib variable.

PS C:\> $DPMLib = Get-DPMLibrary -DPMServerName "DPMServer07"
PS C:\> Unlock-DPMLibraryDoor -DPMLibrary $DPMLib

関連トピック

Get-DPMLibrary

Lock-DPMLibraryDoor