Get-PWDocumentsBySearch : Not logged in as a ProjectWise Administrator.

When running a simple 'Get-PWDocumentsBySearch' command
$Docs = Get-PWDocumentsBySearch -SearchName "$ProjectFolderPath\$pdfSearchName" -filename '%.pdf' -GetAttributes

I now get an error, which I never used to get before
Get-PWDocumentsBySearch : Not logged in as a ProjectWise Administrator.

I am using the Open-PWConnection method because I don't want to use an administrator login -Admin parameter, the New-PWLogin method requires an administrator login and I don't want to use the GUI because this is on an automatic scheduled task.

ModuleType Version    Name
---------- -------    ----
Binary     1.5.5.0    PWPS_DAB

Any assistance will be greatly appreciated
Kind regards Gavin Chapman

Parents Reply Children