remove troubleshooting comments

This commit is contained in:
2022-08-18 19:00:48 -04:00
parent bad0d24027
commit 4e40f3dce7
-2
View File
@@ -11,10 +11,8 @@ ForEach ( $userProfile in (Get-ChildItem -Path "${Env:SystemDrive}\Users" | Wher
}
ForEach ( $path in $RevitLocalPaths ) {
LogMsg "Searching ""${path}"" for Revit files"
$RevitFiles = Get-ChildItem -Path "${path}\*.*" -Filter '*.rvt' | Where-Object {$_.LastWriteTime -lt $FileAllowedAge}
If ( $RevitFiles ) {
LogMsg "Revit files found. Searching for Revit files with worksharing enabled"
ForEach ($revitfile in $RevitFiles) {
$parentDir = $revitfile.DirectoryName