有没有办法通过 Exchange PowerShell 查询谁是 activesync/bb 用户?
有没有办法使用 powershell Exchange 插件查询 Exchange 2007 来区分谁是活动同步用户或黑莓用户?
Is there a way to query against exchange 2007 to distinguish who is either an active sync or blackberry user using powershell exchange addin?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
BBES 通常使用有权访问所有邮箱的服务帐户来执行其操作。 您需要查看 BBES 服务器本身以找出哪些用户处于活动状态,而不是 AD 或 Exchange。 因为 BBES 由数据库支持,所以只需深入研究 dbo.UserStats 表即可查看其中的内容。
BBES typically uses a service account that has access to ALL mailboxes in order to do it's thing. you will want to look at the BBES server itself to find out which users are active, not AD or Exchange. Because BBES is backed by a database, just dig into the dbo.UserStats table to see what's there.
试试这个。
获取 CASMailbox -结果大小无限制 | Where-Object {$_.ActiveSyncEnabled -eq "True" } | 选择对象 SamAccountName,ActiveSyncEnabled
Try this one.
Get-CASMailbox -resultsize unlimited | Where-Object {$_.ActiveSyncEnabled -eq "True" } | Select-Object SamAccountName,ActiveSyncEnabled
您可以查询以查看哪些邮箱启用了必要的权限 - 就像您可以查看哪些邮箱启用了 OWA 一样。 这实际上并不能告诉您谁正在使用该功能,而只是告诉您谁可以使用该功能。
You could query to see which mailboxes have the necessary permission enabled - just as you could see which mailboxes are OWA-enabled. That won't actually tell you who is USING the capability, merely who COULD.
我发现 powershell 中有一个 cmdlet 可以描述 activesync 是否在线。
如果你运行> 获取 cas 邮箱 | get-member
我注意到列表中有一个 ActiveSyncEnabled 属性
I figured out there is a cmdlet in powershell which does describe if activesync is online or not.
If you run > get-casmailbox | get-member
I noticed there is a ActiveSyncEnabled property in list
我确实从这个网站找到了这个vbscript。
http://blogs.technet.com/mjimenez/archive/2007/07/30/how- do-i-programmatically-disable-enable-microsoft-exchange-active-sync-for-all-of-my-mobile-users.aspx我希望有一种方法可以做到这一点由用户而不是 ou..
I did find this vbscript from this website.
http://blogs.technet.com/mjimenez/archive/2007/07/30/how-do-i-programmatically-disable-enable-microsoft-exchange-active-sync-for-all-of-my-mobile-users.aspxI'm hoping there is a way to do this by user instead of ou..