Solved

get-mailboxfolderstatistics filtering for calendar

Posted on 2010-11-16
3
869 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

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
A procedure for exporting installed hotfix details of remote computers using powershell
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

757 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

20 Experts available now in Live!

Get 1:1 Help Now