remove troubleshooting comments
This commit is contained in:
@@ -11,10 +11,8 @@ ForEach ( $userProfile in (Get-ChildItem -Path "${Env:SystemDrive}\Users" | Wher
|
|||||||
}
|
}
|
||||||
|
|
||||||
ForEach ( $path in $RevitLocalPaths ) {
|
ForEach ( $path in $RevitLocalPaths ) {
|
||||||
LogMsg "Searching ""${path}"" for Revit files"
|
|
||||||
$RevitFiles = Get-ChildItem -Path "${path}\*.*" -Filter '*.rvt' | Where-Object {$_.LastWriteTime -lt $FileAllowedAge}
|
$RevitFiles = Get-ChildItem -Path "${path}\*.*" -Filter '*.rvt' | Where-Object {$_.LastWriteTime -lt $FileAllowedAge}
|
||||||
If ( $RevitFiles ) {
|
If ( $RevitFiles ) {
|
||||||
LogMsg "Revit files found. Searching for Revit files with worksharing enabled"
|
|
||||||
ForEach ($revitfile in $RevitFiles) {
|
ForEach ($revitfile in $RevitFiles) {
|
||||||
|
|
||||||
$parentDir = $revitfile.DirectoryName
|
$parentDir = $revitfile.DirectoryName
|
||||||
|
|||||||
Reference in New Issue
Block a user