< Back

Start-ArchivialNetworkSourceRescan

Fri Jan 10, 2020 8:48 pm

NAME Start-ArchivialNetworkSourceRescan



SYNOPSIS

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





SYNTAX

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



Start-ArchivialNetworkSourceRescan -NetworkSource <NetworkSourceLocation> [<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-ArchivialNetworkSources command to find the ID of an existing source you would like to rescan.





PARAMETERS

-SourceID <int>

Specify the ID of the Network Source to rescan.



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-NetworkSource <NetworkSourceLocation>

Specify the Network 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.NetworkSourceLocation

Specify the Network Source object to rescan.





OUTPUTS



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



C:\\> Start-ArchivialNetworkSourceRescan -SourceID 2



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



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



C:\\> Get-ArchivialNetworkSources | Start-ArchivialNetworkSourceRescan



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



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



C:\\> Get-ArchivialNetworkSources | Where Path -like "*\\\\drobo-nas\\*" | Start-ArchivialNetworkSourceRescan



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





RELATED LINKS