Author: Zahir Hussain Shah, MVP Exchange Server
If you are looking for a simple and quick way to export all the users from Exchange Server, those who are configured for ActiveSync enabled mobile devices, you can use the below provided script, which will export all the users for you along with the below listed information:
| DeviceType | DevicePolicyApplied | LastSuccessSync | DeviceUserAgent | User |
| iPhone | Default | 9/4/2012 | Apple-iPhone3C1/803.148 | Zahir.Shah |
You can download this Exchange Management Shell PowerShell script (PS1) from here.
Below CSV export CMDLet can be run in-conjunction to export the out-put of PS1 script to a CSV file:
[PS] C:\Windows\system32>C:\Users\zahir.shah\Desktop\Export_Mobile_Device_Partnership_3_Sep_12_PS1.ps1 | Export-CSV C:\activesycn.csv
Cheers!

Leave a comment