如何在VB.Net中运行Powershell脚本
问题描述:
我需要在VB.Net中运行Exchange 2007 powershell脚本,但似乎无法找到显示如何在加载模块时执行此操作的方法。如何在VB.Net中运行Powershell脚本
这样做的最佳方法是什么?
答
可以在VB运行PowerShell脚本,来看看下面的链接
的联系张贴以上需要你一步就如何完成这一步。
退房这个问题,涉及到你的: Running powershell scripts from within a .NET windows app
这下面的文章是在C#中,但应该帮助你理解这个概念好一点:
http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C
这个问题可能会得到你开始了:http://stackoverflow.com/questions/10617651/powershell-via-vb-net-which-method-and-why – 2012-08-02 17:45:16