Need to export list of ActiveSync-enabled users by mailbox database

I just need to export a CSV with the list of users in an exchange 2007 specific mailbox database that has activesync enabled.  I've toyed with a few things but haven't found a good way to do it

Any ideas are appreciated

Thx!
mkllpitAsked:
Who is Participating?
 
Justin YeungConnect With a Mentor Senior Systems EngineerCommented:
$path = "your path.csv"
$mailboxdb = get-mailboxdatabase | ? {$_.Name -eq "name of the db"}
$mailboxdb | get-casmaibox | ? {$_.ActiveSyncEnabled -eq $True} | Export-csv $path
0
 
mkllpitAuthor Commented:
Thanks Justin.  Just had a revelation and basically did the same albeit a little different
0
 
Justin YeungSenior Systems EngineerCommented:
miss type get-casmailbox as casmaibox..........
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.