![]() ![]() Schedule the script to run on every month ( or based on your schedule) Write the script to Zip and Delete IIS Logsģ. Download and import the PowerShell community Extension (for write-zip cmd-let)Ģ. These Logs are highly compressible up to 500%!!! (Meaning 500 MB file to 5 MB file).ġ. It’s a good idea to back up and clean IIS Logs every Month. How about backing up them Monthly and deleting old logs? For example, I’ve changed the path for the log files to D:\Logs\IIS. For the log file, change the directory to a more suitable drive and folder.In the Features view shown in the middle panel, select Logging.Select the server name in the Connections panel on the left.If SharePoint is being accessed a lot, It may cause disk space problems for your OS drive so quickly. By default, IIS logs stored in C:\ of WFE servers. It captures every web page/image/script requests. IIS logs are the requests from clients and written into text-based log files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |