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...
Subscribe to:
Post Comments (Atom)
2 comments:
THANK YOU!!!
Post a Comment