Powershell – Disable IIS Logging

Powershell script to totally disable IIS logging on for all Sites

It is important to note that a number (if not all….) of the names (settings) in IIS are case sensitive. so:
-name dontLog
must be specified in the correct case
-name dontlog will not work, will not error and will not disable logging




Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.