powershell - 如何从 Powershell 打开 Powershell 控制台窗口

标签 powershell powershell-2.0

我正在编写一个脚本来使用多个 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/

相关文章:

powershell - PowerShell 中根据版本号排序

Json 编码 HTML 字符串

sorting - 排序文件的大小是powershell中原始文件的两倍

powershell - 使用Powershell将ProcessParameters运行时(MSBuildArguments)传递给tfs 2010构建定义

powershell - 实现 PowerShell PSProvider *in* PowerShell

Powershell - 获取 WinEvent

PowerShell:新时间跨度格式结果

json - Powershell 从 AWS 元数据中获取区域

c# - 通过 C# 代码的 Powershell 命令

azure - 什么类型的 Azure 资源可以运行 powershell 并拥有系统本地的文件系统或存储?