11-30-2015 08:32 AM
What are some ways that people audit retention folders?
If you don't keep the ini files, and don't put any special characters or have a naming convention for retention folders, how to you go about finding who has them?
Solved! Go to Solution.
11-30-2015 09:47 AM
To check mailboxes in Exchange: Get-MailboxFolderStatistics -identity first.last | ft identity
Or in SQL:
SELECT AFV.FolderName, AFV.FolderPath, A.ArchiveName
FROM ArchiveFolderView AFV
JOIN Root R on AFV.ArchiveVEID = R.VaultEntryId
JOIN Archive A on R.RootIdentity = A.RootIdentity
WHERE FolderName like '%evpm%'
The folders do not have unique names?
11-30-2015 08:46 AM
just to make sure i understand your question... you want to go through all your mailboxes and identify folders which were created using EVPM?
11-30-2015 08:50 AM
Correct, especailly if they don't have a certain naming convention.
11-30-2015 09:42 AM
just to be clear, if you dont have usernames and dont know which folders you're looking for it means whatever process you come up with would need to scan every single folder in every single mailbox. are you prepared to do that?
11-30-2015 09:45 AM
I have usernames. Say I choose one user, how can I see what retention folders they have?
11-30-2015 09:47 AM
To check mailboxes in Exchange: Get-MailboxFolderStatistics -identity first.last | ft identity
Or in SQL:
SELECT AFV.FolderName, AFV.FolderPath, A.ArchiveName
FROM ArchiveFolderView AFV
JOIN Root R on AFV.ArchiveVEID = R.VaultEntryId
JOIN Archive A on R.RootIdentity = A.RootIdentity
WHERE FolderName like '%evpm%'
The folders do not have unique names?
11-30-2015 01:12 PM
we're actually having that discussion in a different thread where he said they dont know the folder names
11-30-2015 01:52 PM
Thank you i guess if they do not have a certain naming convention it would be hard to tell them from a regular folder i guess at that point a zap and recreation would be needed to truly audit and limit who has certain folders