I'm wondering if there is a way to automate a way to set a new MRM policy for Exchange mailboxes based on the date their archive mailbox is created. I know i can view the create date of the archive mailbox via the following cmdlet, but I need some help with working the output of this into a script.
Get-MailboxFolderStatistics mailbox -Archive | ft name,date
Any help or advice would be appreciated!