Forum Discussion
List of All Emails in Archive Folder
Hello everyone!
Is there a script that would provide me a list of all emails with the Archive Folder for all Employees in the tabular format below?
Employee Name | Folder Name (which would be Archive) | Last Accessed | Department Name
9 Replies
- lpmdvipCopper Contributor
lpmdvip Updated columns:
Employee Name | Folder Name (which would be Archive) | Email Subject | Last Accessed | Department Name
Erick A. Moreno R. Think you could help with this one?
- Erick A. Moreno R.Iron Contributor
lpmdvip Hi, just to clarify, you want to know who has the archive mailbox enabled or you want to know which emails are contained in the archive folder? as per your second post, you are adding a header Email Subject.
- lpmdvipCopper Contributor
Erick A. Moreno R. Hi Erick, I would like to know what emails are in the Archive Folder.
For example, the script would output something like:
Parker, John | Archive | 2/17 Meeting Notes | 2/1/20 2:30 PM | IT
Parker, John | Archive | IT Quarterly Report | 12/31/19 5:40 PM | IT
Did you try Get-MailboxFolderStatistics with the -Archive switch?