I am using the Saved Searches in PowerShell to fetch some documents.This looks to work ok as long as I do not use the -Personal.
When I run the Get-PWDocumentsBySearch with the -Personal i get this Warning. ("WARNING: Search 'WorkArea\SearchName' not found")
The code is like this:
Get-PWSavedSearches -FolderPath 'WorkArea' -Personal (This returns all Personal Searches. Also the SearchName used below)
Get-PWDocumentsBySearch -SearchName 'WorkArea\SearchName' -GetAttributes -Personal (This shows the Warning)
My version of the pwps_dab is 184.108.40.206
Best Regards Christian
I am able to reproduce this behavior. I will look into the issue to resolve. Look for this to be resolved in a future release of the module.
On a very similar note, I am struggling to get the Get-PWSavedSearches cmdlet to return the desired results. Perhaps I am confused about how to use the -InputFolder and -FolderPath parameters. Can you please clarify?