run powershell script from windows scheduler March 21, 2023 example: command: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" add argument -NoProfile -NoLogo -NonInteractive -ExecutionPolicy Bypass -ExecutionPolicy Bypass -file D:\dba\SQLScripts\AlertOnNoDBBackup.ps1 Read more