Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

get-mailboxfolderstatistics filtering for calendar

Posted on 2010-11-16
3
Medium Priority
?
894 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
[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
  • 2
3 Comments
 
LVL 71

Accepted Solution

by:
Chris Dent earned 2000 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 71

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
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 …
In this video we show how to create an Accepted Domain 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 >> Ac…

721 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