Skip to content

Commit abd7fe7

Browse files
authored
Update IISLogsCleanup.ps1
1 parent a268810 commit abd7fe7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Windows/IISLogsCleanup.ps1‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ IISLogsCleanup.ps1 - IIS Log File Cleanup Script
66
A PowerShell script to compress and archive IIS log files.
77
88
This script will check the folder that you specify, and any files older
9-
than the first day of the previous month will be coDOMAINNAMEsed into a
9+
than the first day of the previous month will be compressed into a
1010
zip file. If you specify an archive path as well the zip file will be
1111
moved to that location.
1212
1313
The recommended use for this script is a once-monthly scheduled task
14-
run on the first day of each month. This will coDOMAINNAMEs all files older
14+
run on the first day of each month. This will compress all files older
1515
than the first day of the previous month, resulting in only 1-2 months
1616
of log files being stored on the server.
1717
@@ -31,12 +31,12 @@ a central log repository stored on a NAS.
3131
3232
.EXAMPLE
3333
.\IISLogsCleanup.ps1 -Logpath "D:\IIS Logs\W3SVC1"
34-
This example will coDOMAINNAMEs the log files in "D:\IIS Logs\W3SVC1" and leave
34+
This example will compress the log files in "D:\IIS Logs\W3SVC1" and leave
3535
the zip files in that location.
3636
3737
.EXAMPLE
3838
.\IISLogsCleanup.ps1 -Logpath "D:\IIS Logs\W3SVC1" -ArchivePath "\\nas01\archives\iislogs"
39-
This example will coDOMAINNAMEs the log files in "D:\IIS Logs\W3SVC1" and move
39+
This example will compress the log files in "D:\IIS Logs\W3SVC1" and move
4040
the zip files to the archive path.
4141
4242
.LINK

0 commit comments

Comments
 (0)