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.