Powershell Script to List All ActiveSync Devices in Exchange Organization

Here’s a powershell script I pieced together to do a dump of all the Exchange Activesync devices in an organization.

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; Get-ActiveSyncDevice|Export-Csv -Path $home\Documents\ActiveSync-devices.csv -NoTypeInformation; exit;

The resulting output is a CSV file that you can open in your favorite spreadsheet app.

This entry was posted in Technology, Windows and tagged , , , , , . Bookmark the permalink.

Leave a Reply