Solved

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

Posted on 2014-10-15
2
410 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 500 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create a Contact 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 Recipients >> Contact ta‚Ķ
To show how to generate a certificate request 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 Servers >> Certificates‚Ķ

920 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

12 Experts available now in Live!

Get 1:1 Help Now