Unused logfile directories


Chris Crowe has published a great script for locating unused logfile directories.

When running IIS on a server edition you can create multiple web sites and over time you may add and remove sites. When you do this the Log Files are still retained

The following script can be used to find unused log file directories that are no longer associated with any IIS Web Sites – it does not delete them just displays them.

Read more at source.

About Author

Peter is an Exchange specialist with over 15+ years of experience with Exchange Server and certified Microsoft Certified Master (MCM) and Microsoft Certified Solutions Master (MCSM) on Exchange Server. He has been awarded the Microsoft MVP award, every year since 2007. He is active in the Microsoft community and User Group Leader for CoLabora (a danish UC & Cloud User Group). He works as an Cloud & Infrastructure Architect and Consulent, with primary focus on Exchange, Office 365, Azure and Skype for Business.

Comments are closed.

Copyright 2005-2015 - Peter Schmidt.