Solved

get-mailboxfolderstatistics filtering for calendar

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this video we show how to create a mailbox database 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 Servers >> Data…
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…

830 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