finding out the age of stub files in mailboxes
Hi All
We're considering turning on Shortcut cleanups to remove stub files in Exchange mailboxes to reduce the number of items stored in same, while discussing how to balance this with the disruption/confusion it might casue having to refer users to the archive explorer or search rather than where they're used to seeing the shortcuts a questions was asked, how many shortcuts are over x age, how many over y? in short what will be gain in terms of esxcahnge for the policies so we can weight these against potential confusion.
i know most things EV are held in SQL somewhere so this can't be too hard to find out. either through an off the shelf report (i can't find one) or through a customer report or query.
how can we find out how many stubs relate to messages over 4,5,10,15 years in the excahgne mailboxes if we found that hundreds of thousands are for messages over 10 years then we'd definately gain from removing these as our exchagne environment could do with a little pressure released.
Thanks
Mike
Sure, you just change ArchivedDate to IdDateTime.
SELECT ex.MbxDisplayName,
CONVERT(VARCHAR(4), s.IdDateTime, 120) "Sent Dates",
COUNT(s.IdDateTime) "No. Items Archived"
FROM Saveset S
Join Archivepoint a on a.ArchivePointIdentity =s.ArchivePointIdentity
Join EnterpriseVaultDirectory.dbo.ExchangeMailboxEntry ex on ex.DefaultVaultID = a.ArchivePointID
GROUP BY ex.MbxDisplayName, CONVERT(VARCHAR(4), s.IdDateTime, 120)
ORDER BY ex.MbxDisplayName, CONVERT(VARCHAR(4), s.IdDateTime, 120)SELECT CONVERT(VARCHAR(4), IdDateTime, 120) "Sent Dates",
COUNT(ArchivedDate) "No. Items Archived"
FROM Saveset S
GROUP BY CONVERT(VARCHAR(4), IdDateTime, 120)
ORDER BY CONVERT(VARCHAR(4), IdDateTime, 120)What are you basing Expiry on? See Article URL http://www.symantec.com/docs/TECH35761
To delete the shortcuts based on received date base it on Modified date. You will probably want to set Storage Expiry to run Never so you don't inadvertently delete the archived mail. :)