15 years ago
(Entprs Vault 7.5) - How do I : Sort by 'youngest archive date' ?
We are decommisioning our EV product and need to PST off any current users archives.
Over serveral years many (about half) of our EV users -exchange mailboxes have been deleted (as they have left.)
(Thier archives are still sitting there, but havnt updated for years of course.)
Naturally, We will only pst off existing users.
Current proceedure for finding last archived date (one by one approach)
[Vault Console] > Archives > Exchange Mailbox > "A-C users" Right click a user > Properties
This is great if I want to go down the lists of 1600 users one at a time, keeping a record (cant find an ev report that does this) of each one on paper.
This surely must be a common requirement but I cant find anything on this site or the net describing how to do.
Any help appreciated.
jdog
- Try this query i wrote for you, just change the GetDate() to be how many days old it must be
USE EnterpriseVaultDirectory
SELECT A.ArchiveName AS "Archive Name",
EME.LastModified AS "Last Synchronized",
IV.YoungestArchivedDateUTC AS "Last Item Archived On",
IV.OldestArchivedDateUTC AS "First Item Archived On",
IV.OldestItemDateUTC AS "Oldest Items Sent Date",
IV.YoungestItemDateUTC AS "Youngest Items Sent Date"
FROM Archive A, Root R, ExchangeMailboxEntry EME, IndexVolume IV
WHERE IV.RootIdentity = R.RootIdentity
AND R.RootIdentity = A.RootIdentity
AND R.VaultEntryID = EME.DefaultVaultID
AND IV.YoungestArchivedDateUTC < GetDate()-30
ORDER BY IV.YoungestArchivedDateUTC DESC