Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-10-15
2
Medium Priority
?
525 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
[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 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

705 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