O-Xchange Notes from the Field!

Tuesday, November 4, 2014

Retrieve all mailboxes assigned to a specific ActiveSyncMailboxPolicy

Task: Retrieve all mailboxes assigned to a specific ActiveSyncMailboxPolicy.  The ActiveSyncMailboxPolicy we are searching for is labeled "VIP".

Run the following:

Get-CASMailbox -ResultSize unlimited | Where ActiveSyncMailboxPolicy -like "VIP" | Select SamAccountName, DisplayName,ActivesyncMailboxPolicy,ServerName | Export-csv C:\VIP_EASPolicy.csv

No comments:

Post a Comment