diff --git a/Get-ProjectFolders.ps1 b/Get-ProjectFolders.ps1 index 567e06c..c7e1982 100644 --- a/Get-ProjectFolders.ps1 +++ b/Get-ProjectFolders.ps1 @@ -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"