【问题标题】:get-casmailbox (Powershell) functionality in EWS API (C#)?EWS API (C#) 中的 get-casmailbox (Powershell) 功能?
【发布时间】:2018-02-23 12:16:48
【问题描述】:

希望是一个简单的问题。在Exchange Powershell API中,有“get-casmailbox”之类的功能来设置邮箱可以通过OWA等访问。我正在尝试将此类功能集成到C#程序中,调用Powershell是很荒谬的在 C# 中只是为了与 Exchange 交互。

我已成功添加 EWS API,但找不到 get-casmailbox 之类的功能。

是否有替代方案,还是我坚持只在 Powershell 中执行 get-casmailbox 和 set-casmailbox?

【问题讨论】:

    标签: c# powershell exchange-server exchangewebservices


    【解决方案1】:

    我认为使用 Powershell 绝对没问题,因为它是唯一以可靠方式管理 Exchange 设置的界面。

    您可以查看用户的 protocolSettings 属性 - 这些设置存储在那里。但我绝对不建议直接更改它们。 (虽然它可能有效)

    享受-tom

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-03-26
      • 2011-10-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-09
      • 2014-06-18
      相关资源
      最近更新 更多