Solved

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

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

626 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