Powershell: Logging to file
Often I have situations when my scripts are running as Scheduled Tasks and I need to know status of each execution – specially when error occurred. It can be solved in many ways with different logging schemes and I will …