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.
我正在开发一个嵌入 Powershell 的应用程序。我想知道是否有一种方法可以启动单独的 Powershell 命令窗口,并通过此 Powershell 窗口与我的应用程序进行交互?谁能指出一些参考?非常感谢。
经过一番挖掘,我发现在这种情况下我能做的就是在我的应用程序中创建一个 PowerShell 提供程序。使用此提供程序,用户将能够通过在应用程序外部运行的 PowerShell 与应用程序进行交互。