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 - 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.

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.

Parameters

-DPMServerName

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

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Full

Indicates that the cmdlet starts a full library rescan.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Quick

Indicates that the cmdlet starts a quick library rescan.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
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
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Job