Tuesday, January 6, 2015

Exchange Server ActiveSync User List Powershell

[PS] C:\Windows\system32>Get-ActiveSyncDevice | Get-ActiveSyncDeviceStatistics | select-object DeviceID,Identity,LastSuccessSync |export-csv c:\temp\report.csv

or

Get-CASMailbox -ResultSize Unlimited | where { $_.ActiveSyncEnabled -eq 'True'} | ft name, activesyncenabled –autosize > c:\ActiveSyncEnabled.txt

No comments:

Post a Comment

 
span.fullpost {display:inline;}