Powershell Log File RRS feed

  • Question

  • I've searched for script or functions to create a log file from a script I run each night.  The main script just sets variables and then calls other scripts (18 of them).  The last script sends me an email with various information and at times I've failed to get the email and without having some kind of log file, I'm not sure how to figure out what when wrong.  Is there a simple way to create a log file?  It could be overwritten each night as the only time it would be viewed is if something when wrong.



    Wednesday, February 25, 2015 11:05 AM


All replies