Run a powershell script in task scheduler without it poping up.

I run some powershell scripts at work to keep things running and do things automatically. Problem when you put them in a task scheduler they pop up on the screen when they run.

So here’s what I found that works to keep them from showing up.

Open up the properties of a scheduled task

in the program/script section put

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

for arguments  put in

-File "C:\folder_of_script\script.ps1"

for start in put

c:\folder_of_scripts\

And that’s all there is to it.

Leave a Reply

Your email address will not be published. Required fields are marked *