Start-DPMLibraryRescan

Start-DPMLibraryRescan

Starts a scan to identify new libraries and update existing libraries.

構文

Parameter Set: Full
Start-DPMLibraryRescan [[-DPMServerName] <String> ] [-Full] [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [ <CommonParameters>]

Parameter Set: Quick
Start-DPMLibraryRescan [[-DPMServerName] <String> ] -Quick [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [ <CommonParameters>]

Parameter Set: RefreshOnly
Start-DPMLibraryRescan [[-DPMServerName] <String> ] -RefreshOnly [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [ <CommonParameters>]

詳細説明

The Start-DPMLibraryRescan cmdlet starts a scan for a System Center 2012 – Data Protection Manager (DPM) server to identify new libraries and stand-alone tape drives, and to update information for existing libraries. You can select one of the following parameters:

-- Full. The cmdlet checks for new libraries and stand-alone tape drives and refreshes all libraries and drives.
-- Quick. The cmdlet checks for new libraries and stand-alone tape drives.
-- RefreshOnly. The cmdlet refreshes known drives.

If you do not specify any of these parameters, the cmdlet performs a full scan.

パラメーター

-DPMServerName<String>

Specifies the name of a DPM server.

エイリアス

none

必須?

false

位置は?

1

既定値

none

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

True (ByPropertyName)

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

false

-Full

Indicates that the cmdlet starts a full library rescan.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-JobStateChangedEventHandler<JobStateChangedEventHandler>

Specifies an event handler for changes in the status of a job. 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

-Quick

Indicates that the cmdlet starts a quick library rescan.

エイリアス

none

必須?

true

位置は?

named

既定値

none

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

false

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

false

-RefreshOnly

Indicates that the cmdlet starts a refresh library scan.

エイリアス

none

必須?

true

位置は?

named

既定値

none

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

false

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

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

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

出力

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

  • Job

  • For more information, type "Get-Help Start-DPMLibraryRescan -detailed".

Example 1: Perform a full rescan

This command starts a full rescan of the libraries on the DPMserver named DPMServer07.

PS C:\> Start-DPMLibraryRescan -DPMServerName "DPMServer07" -Full