Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Delete all emails from exchange 2010 mailbox that are older than 14 days

$
0
0

Hi

Could someone possibly help me I need a script that will do the following:-

1) Delete all emails from a exchange 2010 mailbox (inbox) that are older than 14 days - so I am just left with new messages received in last 14 days

2) Can it have an option to delete them without going to deleted items folder?

3) And so no user input required so I can schedule the script to run regularly

Thank you very much in advance


Viewing all articles
Browse latest Browse all 15370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>