问题描述
我收到以下错误:
"Windows PowerShell管理单元"Microsoft.Exchange.Management.PowerShell .Admin'未安装在此计算机上。"}
当我尝试拨打此代码时:
rsConfig = RunspaceConfiguration.Create();
info = rsConfig.AddPSSnapIn(" Microsoft.Exchange.Management.PowerShell.Admin",out snapIn);
。 我可以从控制台应用程序中调用它就好了。 这两个项目都配置为任何cpu,我从64x服务器运行。
任何建议?
I get the following error :
"The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' is not installed on this machine."}
When I try to call this code:
rsConfig = RunspaceConfiguration.Create();
info = rsConfig.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.Admin", out snapIn);
from a web application. I can call it from a console app just fine. Both projects are configured for any cpu's and I am running from a 64x server.
Any suggestions?
这篇关于“此计算机上未安装Windows PowerShell管理单元'Microsoft.Exchange.Management.PowerShell.Admin'。”}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!