Running tasks automatically and in the background is really helpful. When you are also actively working on the same machine windows popping up and stealing the curser focus is somewhere between annoying and “I want to throw things out of the window”. Because staying calm is important here are the arguments for powershell.exe to be placed in a scheduled task that dows not open a window.

Arguments:

-NoLogo -NoProfile -ExecutionPolicy Unrestricted -WindowStyle Hidden { . "c:\scripts\myscript.ps1"; }