Month: March 2018

How to troubleshoot PowerShell scripts not running under a scheduled task

Situation: you have written a PowerShell script that runs fine when you launch it from PowerShell directly, but fails to start or run when you try to plug it into a schedule task. What went wrong? This post is an outline of common reasons that your script fails to run in a scheduled task. Always … Continue reading How to troubleshoot PowerShell scripts not running under a scheduled task