Start-DPMLibraryRescan

Start-DPMLibraryRescan

Starts a rescan job in the background to identify new libraries or ones that have changed.

Syntax

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


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


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

Detailed Description

The Start-DPMLibraryRescan cmdlet starts a scan to identify new libraries or ones that have been changed.

Parameters

-DPMServerName

The name of a DPM server.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByPropertyName)

Position?

0

-Quick

Indicates that a quick library rescan should be performed.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-RefreshOnly

Indicates that only the data should be refreshed.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-Full

Indicates that a full library rescan must be done.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-JobStateChangedEventHandler

The JobStateChangedEventHandler is used along with the -Async parameter so that the user can be informed of the status of the operation. This is useful when building a GUI using cmdlets. It is not used when working with the DPM Management Shell.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Notes

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

    Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

Start-DPMLibraryRescan -DPMServerName TestingServer 
                           

This command starts a rescan of the libraries on TestingServer.