I am looking for help with Microsoft Exchange PowerShell. I have customer requesting we delete all emails older then 2 years in just 1 folder for just 1 user.<\/p>","upvoteCount":6,"answerCount":6,"datePublished":"2019-01-29T21:53:15.000Z","author":{"@type":"Person","name":"rogerjensen2","url":"https://community.spiceworks.com/u/rogerjensen2"},"suggestedAnswer":[{"@type":"Answer","text":"
Advertisement
I am looking for help with Microsoft Exchange PowerShell. I have customer requesting we delete all emails older then 2 years in just 1 folder for just 1 user.<\/p>","upvoteCount":6,"datePublished":"2019-01-29T21:53:15.000Z","url":"https://community.spiceworks.com/t/i-am-looking-for-help-with-microsoft-exchange-powershell/695043/1","author":{"@type":"Person","name":"rogerjensen2","url":"https://community.spiceworks.com/u/rogerjensen2"}},{"@type":"Answer","text":"
Advertisement
Welcome.<\/p>\n
We’re happy to help, but not a script writing service. What have you tried? Where are you stuck?<\/p>\n
Is this in o365 or an on prem Exchange?<\/p>\n
If you post code, please use the ‘Insert Code’ button. Please and thank you!<\/p>