I've added a new post to by blog. Although, it's not directly related to ProjectWise, I think it is relevant.
One step further, can you catch error messages when schedule is running in a log?
You should be able to write logging functionality into your script file which could capture an information you deem important.
I used Try-Catch and sent the error message produced to a text file. Guess that's what you mean?
I use a script I found online for writing to a log file. Works well for me. Here is a link to it.https://gallery.technet.microsoft.com/scriptcenter/Write-Log-PowerShell-999c32d0