For anybody out there who just wants to know a simple line of Powershell to change the logging directory of an IIS7 website, here it is:
Set-ItemProperty 'IIS:\Sites\Default Web Site' -name logFile.directory -value 'D:\IISLogs'
Enjoy...
Showing posts with label powershell iis7 log directory. Show all posts
Showing posts with label powershell iis7 log directory. Show all posts
Monday, 4 May 2009
Subscribe to:
Posts (Atom)