Solved

get-mailboxfolderstatistics filtering for calendar

Posted on 2010-11-16
3
871 Views
Last Modified: 2012-05-10
We have a policy where we remove items from users calendars after 2 years.  I am trying to figure out the current size of the calendar, and also what the size would be if we only kept 1 year worth of data.

This syntax gets the the size of the calendar in MB:
get-mailbox e144534 -resultsize unlimited | Get-MailboxFolderStatistics -folderscope calendar |  select-object Identity,itemsinfolder,@{Name="FolderSize MB";expression={$_.folderSize.toMB()}} | FT -autosize

How can I add a filter that gives me this data for items less than a year old?

Thanks!

Susan
0
Comment
Question by:suelizy
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 34163110

The CmdLet for Exchange 2007 doesn't have that kind of functionality, Exchange 2010 may (via the IncludeAnalysis parameter), however, I have not been able to test this to verify whether or not it returns sufficient information.

This CmdLet isn't the only option, but it is the simplest by a long way.

Chris
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 34497714
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
To show how to create a transport rule 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 >> Rules tab.:  To cr…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now