Exchange PowerShell commands through C#

前端 未结 2 967
你的背包
你的背包 2021-01-16 00:22

I am using C# to send PowerShell commands interacting with Exchange. I have a method called initconnection which sets up my connection to Exchange.

I ha

2条回答
  •  旧时难觅i
    2021-01-16 00:52

    You have to add the Exchange snap-in to your runspace. Take a look at Exchange for developers.

提交回复
热议问题