Active Sync

Android Active Sync errors

"Unable to open connection to server"

Remove-ActiveSyncMailboxPolicy -Identity Default

recreate policy

Set-ActiveSyncMailboxPolicy "Default" -IsDefaultPolicy $True

Count ActiveSync users

$ActiveSync =Get-QADUser -IncludedProperties msExchOmaAdminWirelessEnable -LdapFilter "(msExchOmaAdminWirelessEnable=*)" | select name, msExchOmaAdminWirelessEnable $ActiveSync | sort -Unique msExchOmaAdminWirelessEnable $ActiveSync | group-object -Property msExchOmaAdminWirelessEnable

-Filter Options

Get-CASMailbox -Filter {ActiveSyncEnabled -eq $false}

This command does not work it returns all mailboxes

Get-CASMailbox -Filter {OWAEnabled -eq $false} #FAILS (does not error just returns bad data) in Exchange 2010 SP1 Rollup 3v3 filed a bug with MS evidently this command works in Exchange 2007

Get-CASMailbox | where {$_.OWAEnabled -eq $false}