我在任务计划程序中创建了一个任务。
它基本上是一个必须在交互模式下运行的 powershell 脚本。
任务在 SYSTEM 帐户下运行。
在操作选项卡的程序/脚本下,我添加了 ServiceUI.exe 的路径,例如 C:* * \ServiceUI.exe 在添加参数选项下,我添加了 C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell。 exe -Windowstyle hidden -NoProfile -Executionpolicy bypass -file "C:**\PS1.ps1"
当我运行任务时,powershell 窗口提示会显示几分之一秒。
有人可以建议一种隐藏它的方法吗?