gmaynard
Posts: 23
Score: 0 Joined: 9/9/2004 Status: offline
|
I have written a PS script (v 1.0) that is running as a service via srvany.exe. I have error trapping blocks throughout the script. After a day or so of running, the script appears to stop working. The process is still running (both Powershell and srvany), but I am no longer seeing the expected output. The errors I am trapping do not appear to be catastrophic nor time-related to when the script stops working. No errors appear after the script stops processing. Also, I did a perfmon trace and I did not see anything that stood out as to a stopping point for the script. Any ideas on how I can monitor when / how the script is failing?
|