我正在编写一个脚本来使用多个 plink (PuTTY) session 作为 Windows 版本的 clustersh。然而,我陷入困境,因为我想从 powershell 打开多个 Powershell 窗口。当我键入 powershell 命令时,它会打开一个新 session 。这类似于在 bash 中输入 bash。我想要打开多个物理窗口。
我尝试了 -windowstyle 以及其他参数但无济于事。我想知道是否有你知道的方法。我真的很感谢你的帮助。我看了看,没有发现这里有任何东西。谢谢你的时间。
最佳答案
这将打开一个新窗口。
或者:
start-process powershell
或者:
start powershell
关于powershell - 如何从 Powershell 打开 Powershell 控制台窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15667322/