Skip to content

Commit

Permalink
Update AutorunsToWinEventLog.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
tobor88 authored Oct 28, 2023
1 parent 8182763 commit 2c73a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutoRunsToWinEvent/AutorunsToWinEventLog.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ BEGIN {

Write-Verbose -Message "[v] Creating the Event Log View entry AutorunsToWinEventLog"
New-EventLog -LogName "Autoruns" -Source "AutorunsToWinEventLog" -Verbose:$False
Limit-EventLog -LogName "Autoruns" -OverflowAction OverWriteAsNeeded -MaximumSize [Int32]"$($MaxLogSize)KB" -Verbose:$False
Limit-EventLog -LogName "Autoruns" -OverflowAction OverWriteAsNeeded -MaximumSize [System.Int64]"$($MaxLogSize)KB" -Verbose:$False

} # End If

Expand Down

0 comments on commit 2c73a92

Please sign in to comment.