bug Get-PWDocumentsBySearch -SearchName extremely slow

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-06
Number of docs: 21
End date/time.. 2020-02-27_06-21-26

Major Minor Build Revision
----- ----- ----- --------
1 16 3 0
Start date/time.. 2020-02-27_06-21-39
Number of docs: 21
End 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

Parents Reply Children
No Data