hiding of scheduled execution of powershell script

泪湿孤枕 提交于 2019-12-12 05:56:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!