Powershell
Powershell copied to clipboard
Add Email Notifications to Clean-ExchangeLog script
Hello Faris,
I use a few different PS1 scripts I have found over the years to manage old exchange logs, and have recently found yours.
One "file delete" script I use has email notifications in its capability. This script is called "DeleteOld" and was written by Jaap Brasser. I am not sure if it can be found on the internet anymore, but I do have a copy of it. That script is not specific to Exchange. The reporting feature in it is useful though (log file is emailed, containing actions done, # files deleted, space recovered, etc). I am wondering if that feature could be added to your script. If interested, I can provide you with that PS1.