Remove old logfiles from Exchange servers

 

You can use Powershell to remove old logfiles from exchange servers. Those logfiles are located on the Client Access Servers (CAS servers) in the inetpub folders.

To remove the files older then 60 days use this script.

Fill in your own CAS servers on the variable $servers line. You can use as many as you want to.

 

Leave a Reply

Your email address will not be published. Required fields are marked *