How to Log ProjectwWise Powershell Export

Hi All,

Somewhat new at this so need some assistance if anyone can offer any pointers.

I have created a Powershell script to export all documents modified in the last x days using Export-PWDocuments. This seems to work fine, however I would like to log or report on what has been exported.  

I tried to capture the transactions simply using "Start-Transcript". This captures and logs activity logins, paths set etc. but does not capture and log the actual results of the Export-PWDocuments. For example when you run the script in PowerShell you see results of search and copy on the screen i.e. - Copied out 'C:\Export\17053\4 Drawings\4.3 Models\A30\Structural\Test Doc.txt' (Did not exist on disk)

It is this that I would like to log, but I have not found a way to capture this detail.

Any assistance would be appreciated.

Thanks in advance

Parents Reply Children
No Data