set refresh to a switched parameter.
This commit is contained in:
parent
0781b1e7a8
commit
fd1912d7d9
@ -12,8 +12,15 @@ X:\CG | ProjectNumber | FullPath | filecount
|
|||||||
|
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[CmdletBinding()]
|
||||||
|
param (
|
||||||
|
#refresh all data - causes the DB to be wiped clean and all file folders to be re-analyzed.
|
||||||
|
[Parameter(Mandatory = $false)]
|
||||||
|
[switch]
|
||||||
|
$Refresh
|
||||||
|
)
|
||||||
|
|
||||||
$Refresh = $true #refresh all data - causes the DB to be wiped clean and all file folders to be re-analyzed.
|
#refresh all data - causes the DB to be wiped clean and all file folders to be re-analyzed.
|
||||||
|
|
||||||
|
|
||||||
$PathToDB = "M:\IT\Egnyte\DuplicateFiles\WorkingRun\Dedupe.SQLite"
|
$PathToDB = "M:\IT\Egnyte\DuplicateFiles\WorkingRun\Dedupe.SQLite"
|
||||||
|
Loading…
Reference in New Issue
Block a user