when using an older version of pwps_dab (1.5.15.0) and running the Get-PWDocumentsBySearch -SearchName function process, it completes in seconds, however when running the same function using a newer version of pwps_dab (1.16.3.0), its taking minutes. This is reproducible at any time, I can demonstrate if required, can this be looked into?
Major Minor Build Revision----- ----- ----- --------1 5 15 0 Start date/time.. 2020-02-27_06-21-06Number of docs: 21End date/time.. 2020-02-27_06-21-26
Major Minor Build Revision----- ----- ----- --------1 16 3 0 Start date/time.. 2020-02-27_06-21-39Number of docs: 21End date/time.. 2020-02-27_06-25-22
New-PWLogin -UseGui #Folder Locations $ProjectFolderPath = "some folder\project" $SearchName = "Project Models" write-host "version pwps_dab: " (Get-Module "PWPS_DAB" | Where ModuleType -eq "Binary").Version $Date = (get-date -Format "yyyy-MM-dd_HH-mm-ss") write-host 'Start date/time.. ' $Date #get documents by search $Docs = Get-PWDocumentsBySearch -SearchName "$ProjectFolderPath\$SearchName" write-host "Number of docs: " $Docs.count $Date = (get-date -Format "yyyy-MM-dd_HH-mm-ss") write-host 'End date/time.. ' $Date Undo-PWLogin
Hey Gavin, please send me an email at brian.flaherty@bentley.com. Let's see what we can figure out for you.