【问题标题】:PowerShell based programs [closed]基于 PowerShell 的程序 [关闭]
【发布时间】:2012-06-26 06:56:16
【问题描述】:

有人知道 Lync、Exchange 或 SCVM 等程序的控制台是如何编写的吗?

他们执行 PowerShell 脚本。有SDK吗?

【问题讨论】:

    标签: c# winforms powershell


    【解决方案1】:

    您可以在 .NET 程序中嵌入 powershell 空间执行。您可以在 Microsoft Windows PowerShell 站点的 Writing a Windows PowerShell Host Application 中找到有关如何执行此操作的详细信息。它也存在于非 Microsoft 站点,例如 How to run PowerShell scripts from C#How to Embed PowerShell Within a C# Application

    【讨论】:

      猜你喜欢
      • 2013-05-20
      • 2016-01-17
      • 2012-03-14
      • 2011-11-20
      • 2016-02-17
      • 2011-02-12
      • 2014-06-20
      • 2016-01-21
      • 2023-03-06
      相关资源
      最近更新 更多