问题
I scheduled execution of *.ps1 script in Windows 7 scheduler. Everything is cool but i need it to execute silently (not showing PowerShell window every time)
回答1:
use PowerShell.exe -WindowStyle Hidden
来源:https://stackoverflow.com/questions/4814390/hiding-of-scheduled-execution-of-powershell-script