ActiveSync Powershell Command - User Names RRS feed

  • Question

  • Does anyone know of a Powershell script or cmdlet that will pull a users display name among ActiveSync users.

    I am currently using this:

    $MB = Get-Mailbox -ResultSize:Unlimited
    $MB | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | Select-Object identity,DeviceType,devicemodel,LastSuccessSync | export-csv C:\Activesync.csv

    but it does not include a users name.

    Tuesday, September 20, 2011 8:12 PM