My Get-PWDocumentsBySearch command crashes with this update. Could you please check?
You're going to need to post some example code and the error message. Basic testing shows it's working for me.
[Prod]> Import-Module -Name pwps_dab -Version 18.104.22.168
WARNING: The names of some imported commands from the module 'pwps_dab' include unapproved verbs that might make them
less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose
parameter. For a list of approved verbs, type Get-Verb.
[Prod]> new-pwlogin "PWDev KvH"
[Prod]> (get-pwdocumentsbysearch -FolderPath "Kevin Projects\00001 Test Project 1").count
[Prod]> (get-pwdocumentsbysearch -FileName "%.pdf").count
[Prod]> (get-pwdocumentsbysearch -FolderPath "Kevin Projects\00001 Test Project 1" -SearchName "MicroStation Files").count
It was nothing fancy, see below:
$SearchFiles = Get-PWDocumentsBySearch -SearchName 'APersonalSearch' -Personal
Worked fine in previous version...
Anyway will give the newly published one a go.
Thanks for reply...
Does your search reside in the Global personal folder or for a specific project?
If it's in a project personal folder, you will need to prefix the search name with the path to the project. The following example shows Test\ as being the project containing my saved search.
Example: $SearchFiles = Get-PWDocumentsBySearch -SearchName 'Test\APersonalSearch' -Personal
Not in a personal folder Brain but the search is a personal search.
Is the saved search in the Global or Personal Saved Searches ?
If it is in the Personal, you will need to use the -Personal switch parameter.
If it is in a project, you will need to include the project path in the search name.