locked
How to get the all users having EAS enabled with device names and sync status- by default it gives 1000 usrs list RRS feed

  • Question

  • Exchange 2010

    How to get the all users having EAS enabled with device names and sync status- by default it gives 1000 usrs list

    Tuesday, September 3, 2013 10:16 AM

Answers

  • Add the "-resultsize unlimited" parameter to the cmdlet.

    --- Rich Matheisen MCSE&I, Exchange MVP

    Thursday, September 5, 2013 1:43 AM
  • Hi,

    Please try the steps below:

    1.Get the mailbox which are limited to user type and not hidden from the address book:

    $Mailboxes = Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited -Filter {HiddenFromAddressListsEnabled -eq $false}

    2.Return all the mobile devices which are associated with the mailboxes:

    $Devices = $Mailboxes | %{ Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity}

    3.Get the information we are interested in :

    $Devices | Group-Object | select Name, DeviceType, Last*, First*, SyncStateUpgradeTime

    Regards,

    Rebecca

    Thursday, September 5, 2013 11:30 AM

All replies

  • Add the "-resultsize unlimited" parameter to the cmdlet.

    --- Rich Matheisen MCSE&I, Exchange MVP

    Thursday, September 5, 2013 1:43 AM
  • Hi,

    Please try the steps below:

    1.Get the mailbox which are limited to user type and not hidden from the address book:

    $Mailboxes = Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited -Filter {HiddenFromAddressListsEnabled -eq $false}

    2.Return all the mobile devices which are associated with the mailboxes:

    $Devices = $Mailboxes | %{ Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity}

    3.Get the information we are interested in :

    $Devices | Group-Object | select Name, DeviceType, Last*, First*, SyncStateUpgradeTime

    Regards,

    Rebecca

    Thursday, September 5, 2013 11:30 AM