I have a PowerShell script set to run daily as a scheduled task, it is setup with an action of: Run Program PowerShell.exe Arguments: -executionpolicy bypass -file D:\Scripts\SomeScript.ps1
The script completes successfully and in task manager I can see PowerShell start then close, but Task Scheduler still shows it Running.
Any suggestions on how to fix this?