Solved

Get-MailboxStatistics cmdlet/script help

Posted on 2013-06-28
1
382 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
1 Comment
 
LVL 9

Accepted Solution

by:
bharrington83 earned 500 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Distribution Group 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 >>…
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…

733 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