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

x
?
Solved

How can I use Get-CASMailbox to return specific information about Microsoft Exchange Mailboxes

Posted on 2014-10-15
2
Medium Priority
?
553 Views
Last Modified: 2014-11-04
Hi All,

I am looking to gather/extract specific information about Exchange Mailboxes.

The specific information I'm looking to extract is as follows

1) Mailbox Server
2) Mailbox Name\Address
3) Is Mailbox Enterprise Features? (Yes/No)
4) Is OWA Enabled? (Yes/No)
5) Mobile Devices associated(ActiveSync)
6) Last Time Mailbox was accessed
7) Is Mailbox enabled or disabled

I am wondering is it possible to gather this information using GET CASMailbox?

If so would anyone know if it is possible to return all the above info in 1 command on PowerShell?

Any help anyone could provide would be greatly appreciated

Thanks
TJ
0
Comment
Question by:tjoconnor
2 Comments
 
LVL 10

Accepted Solution

by:
Senthil Kumar earned 1000 total points
ID: 40382042
Hi,

Run Get-MailboxStatistics | fl

Which will give the following details

AssociatedItemCount     :
DeletedItemCount        :
DisconnectDate          :
DisplayName             :
ItemCount               :
LastLoggedOnUserAccount :
LastLogoffTime          :
LastLogonTime           :
LegacyDN                :
MailboxGuid             :
ObjectClass             :
StorageLimitStatus      :
TotalDeletedItemSize    :
TotalItemSize           :
Database                :
ServerName              :
StorageGroupName        :
DatabaseName            :
Identity                :
IsValid                 :
OriginatingServer
0
 

Author Comment

by:tjoconnor
ID: 40382574
Hi

Thanks for the reply.

Is it possible to filter out specific data?

Its just that I'm not sure of the correct syntax to use.

Id like to return all mailboxes from all databases on an exchange server and export it to a CSV file but I want to filter in specific data like status (enabled or disabled), last accessed time, Enterprise features, OWA features

is the command below on the correct track?

 Get-MailboxDatabase | Get-MailboxStatistics -Filter {} |
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
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…
Loops Section Overview

876 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