Skip to content

Commit

Permalink
Refresh build/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SamErde committed Dec 2, 2024
1 parent 2d72f2b commit 3a3df1e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/Clear-OldIISLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A script to clean out old IIS log files.
## SYNTAX

```
Clear-OldIISLog [[-Days] <Int32>] [<CommonParameters>]
Clear-OldIISLog [[-Days] <Int16>] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -32,10 +32,10 @@ Removes all IIS log files that are older than 60 days.

### -Days
The number of days to keep log files.
The default is 60 days.
The default is 30 days.

```yaml
Type: Int32
Type: Int16
Parameter Sets: (All)
Aliases:

Expand All @@ -60,4 +60,6 @@ each web site.
Otherwise, it checks the assumed default log folder location and the registry for the IIS
log file location.
To Do: Add a summary of which blocks were run and possibly a count of log files removed.
## RELATED LINKS

0 comments on commit 3a3df1e

Please sign in to comment.