< Back

Start-ArchivialLocalSourceRescan

Fri Jan 10, 2020 8:47 pm

NAME Start-ArchivialLocalSourceRescan



SYNOPSIS

Forces the re-scan of a Local Source being monitored by Archivial.





SYNTAX

Start-ArchivialLocalSourceRescan -SourceID <int> [<CommonParameters>]



Start-ArchivialLocalSourceRescan -LocalSource <LocalSourceLocation> [<CommonParameters>]





DESCRIPTION

All sources are monitored for new or updated files on a regular schedule. This cmdlet is used to request an

immediate rescan, outside of its regular schedule. The rescan will start as soon as there is scanning engine

availability.



The automated scanning schedule for Low priority sources is once every 48 hours. Medium priority sources are

scanned every 12 hours. High priority sources are scanned every hour.



Please see the Get-ArchivialLocalSources command to find the ID of an existing source you would like to rescan.





PARAMETERS

-SourceID <int>

Specify the ID of the Local Source to rescan.



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-LocalSource <LocalSourceLocation>

Specify the Local Source object to rescan.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

ArchivialLibrary.Folders.LocalSourceLocation

Specify the Local Source object to rescan.





OUTPUTS



---------- EXAMPLE 1 ----------



C:\\> Start-ArchivialLocalSourceRescan -SourceID 2



Forces a rescan of the Local Source with the specified ID.



---------- EXAMPLE 2 ----------



C:\\> Get-ArchivialLocalSources | Start-ArchivialLocalSourceRescan



Forces a rescan of all defined Local Sources being monitored by Archivial.



---------- EXAMPLE 3 ----------



C:\\> Get-ArchivialLocalSources | Where Path -like "*D:\\temp*" | Start-ArchivialLocalSourceRescan



Forces a rescan of any Local Sources that match the path filter.





RELATED LINKS