Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想让我的批处理文件运行远程 powerhell 脚本。
我有 Powershell \ip\Myscript.ps1
但它询问我是否要运行这个远程脚本。我想绕过这个。带有 -confirm:$false
我怎样才能批量使用它。
你在这里有几个选择。