【问题标题】:How to run a powershell script without the window showing up如何在不显示窗口的情况下运行 powershell 脚本
【发布时间】:2022-06-13 16:18:31
【问题描述】:

Task Scheduler Hide Button screenshot

对于某些人来说,答案是通过调用 powershell.exe,然后调用您的参数在 Windows 中运行计划任务,或者只是调用整个脚本,然后隐藏任务。

我认为这工作得很好。您认为这种方法有什么缺点吗?

【问题讨论】:

    标签: powershell hidden


    【解决方案1】:
    • 在windows文件夹导航栏上给参数-windowstyle hidden
    • 即运行 jupyterlab 服务: PowerShell.exe -windowstyle hidden jupyter lab --ip localhost --port 8888

    【讨论】:

      猜你喜欢
      • 2010-12-20
      • 1970-01-01
      • 2021-09-04
      • 2015-06-15
      • 2010-10-03
      • 1970-01-01
      • 2021-08-17
      相关资源
      最近更新 更多