?
Solved

Get-MailboxStatistics cmdlet/script help

Posted on 2013-06-28
1
Medium Priority
?
385 Views
Last Modified: 2013-07-08
Hey Guys, I am looking to create a script that will run every Monday morning and email to a distribution list.

But first, what would the script or cmdlet syntax need to be to export just these fields into a CSV?

DisplayName
Title
Department
Office
Enabled
Expires
Last Mailbox Logon
MailboxSizeMB
Type
ServerName
Database
ItemCount
PrimarysmtpAddress

On a side note, is it possible to also export the "Device model: iPad2C2" if they have a device syncing with EAS?
0
Comment
Question by:GCTTechs
[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
1 Comment
 
LVL 9

Accepted Solution

by:
bharrington83 earned 2000 total points
ID: 39284779
Write your output of this get string to a file, say C:\body.txt.  Then use the procedure here: http://blogs.msdn.com/b/rkramesh/archive/2012/03/16/sending-email-using-powershell-script.aspx to write the email.  Make sure to set $msg.body = Get-Content C:\YOURFILENAME.txt
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create a Shared Mailbox 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 >> Sha…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

752 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