EWS:检索服务器上所有分发列表的列表 [英] EWS: Retrieve List of all Distribution Lists on Server

查看:139
本文介绍了EWS:检索服务器上所有分发列表的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

有没有办法在Exchange服务器上查找所有分发列表?我们已经使用Web服务中的ExpandDL方法来获取用户,但是想要一种以编程方式查看DL列表的方​​法。
Is there a way to find all of the distribution lists on an exchange server? We have used the ExpandDL method from the web service to get the users, but would like a way to see the list of the DLs programmatically.

推荐答案

使用PowerShell :)

获取 - 分发组

请参见 http:// www。 codeproject.com/KB/threads/AsyncPowerShell.aspx 从C#中做到这一点:

卡尔
Use PowerShell :)

 Get-DistributionGroup

See http://www.codeproject.com/KB/threads/AsyncPowerShell.aspx to do it from C# :)

Karl


这篇关于EWS:检索服务器上所有分发列表的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆