Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

Get-Mailbox filter group membership

$
0
0

I am trying to create a powershell script that reports on information for a set of mailboxes. How can I use the Get-mailbox command and filter by the group membership of the AD account connected to the mailbox? I just want a list of mailboxes from accounts that are in the VoicemailEnabled group.

I know this isn't possible but to illustrate what I am trying to do:

$mailboxes = Get-Mailbox -OrganizationalUnit "ou=Rooms,dc=contoso,dc=com" -Filter "Memberofgroup -eq 'VoicemailEnabled'"

Any suggestions on how to do this?


Viewing all articles
Browse latest Browse all 8719

Trending Articles