Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an email address policy 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 Mail Flow…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 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