Solved

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

Posted on 2014-03-06
3
686 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
how to add IIS SMTP to handle application/Scanner relays into office 365.
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…

739 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