Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-03-06
3
Medium Priority
?
719 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 1500 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This video discusses moving either the default database or any database to a new volume.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses

926 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