Start-DPMLibraryRescan

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

Syntax

Start-DPMLibraryRescan
     [[-DPMServerName] <String>]
     [-Full]
     [-JobStateChangedEventHandler <JobStateChangedEventHandler>]
     [<CommonParameters>]
Start-DPMLibraryRescan
     [[-DPMServerName] <String>]
     [-Quick]
     [-JobStateChangedEventHandler <JobStateChangedEventHandler>]
     [<CommonParameters>]
Start-DPMLibraryRescan
     [[-DPMServerName] <String>]
     [-RefreshOnly]
     [-JobStateChangedEventHandler <JobStateChangedEventHandler>]
     [<CommonParameters>]

Description

The Start-DPMLibraryRescan cmdlet starts a scan for a System Center 2016 - 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:

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

Examples

Example 1: Perform a full rescan

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

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

Required Parameters

-Quick

Indicates that the cmdlet starts a quick library rescan.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RefreshOnly

Indicates that the cmdlet starts a refresh library scan.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DPMServerName

Specifies the name of a DPM server that this cmdlet scans.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Full

Indicates that the cmdlet starts a full library rescan.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobStateChangedEventHandler

Specifies an event handler for Job.StateChanged events. Use this parameter to build a graphical user interface based on cmdlets. Do not use this parameter in the DPM Management Shell.

Type:JobStateChangedEventHandler
Aliases:Handler
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Job