Solved

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

Posted on 2014-03-06
3
647 Views
Last Modified: 2014-03-06
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!
0
Comment
Question by:mkllpit
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Justin Yeung earned 500 total points
ID: 39909933
$path = "your path.csv"
$mailboxdb = get-mailboxdatabase | ? {$_.Name -eq "name of the db"}
$mailboxdb | get-casmaibox | ? {$_.ActiveSyncEnabled -eq $True} | Export-csv $path
0
 

Author Comment

by:mkllpit
ID: 39909940
Thanks Justin.  Just had a revelation and basically did the same albeit a little different
0
 
LVL 14

Expert Comment

by:Justin Yeung
ID: 39909948
miss type get-casmailbox as casmaibox..........
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now