troubleshooting Question

How to get a list of all excahnge 2010 mailboxes and the users last logon info?

Avatar of Member_2_6501929
Member_2_6501929Flag for United States of America asked on
3 Comments2 Solutions57 ViewsLast Modified:
I'm trying to get a list of all of the user mailboxes on an Exchange 2010 server with each users' last logon time.

I can get it separately per user by running    get-mailboxstatistics <username> | select lastlogontime

But I need to get this info on 160 mailboxes. Is there a switch or parameter that I can change to get this info piped out to a file?

timgreen7077Exchange Engineer
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros