Move Calendar items to archive

James264 1 Reputation point
2021-06-21T15:26:31.857+00:00

Hi, in our organization we have small mailboxes but large online-archives so have to set polices for folders, but our exchange team have disabled archiving for the calendar as it causes "issues" and are told old meetings have to be moved manually.

So looking for powershell script to move every meeting older than 90 days to the -ISArchive calandar. I did start looking at search-mailbox but was getting source can't be the same as the target. I could export/import PST then just look to delete with search-mailbox, but hoping for something nicer to move in one go.

Also I'm concerned that the search :received query is picking up when the meeting is sent and not date scheduled, and how to handle re-occurring meetings?

Wondered if anyone could point to what cmd would be best?

Thanks

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,364 questions
{count} votes