Skip to content

Commit ca4032a

Browse files
committed
clear-events report kb
1 parent ef862fb commit ca4032a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/Scripts/Clear-Events.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ $skip = 0
3939

4040
if (!$quiet)
4141
{
42+
[double] $kb = $size / 1024
4243
Write-Host "`n"
43-
Write-Host("Cleared {0} logs saving {1} bytes" -f $count, $size) -Foreground DarkYellow
44+
Write-Host("Cleared {0} logs saving {1} KB" -f $count, $kb) -Foreground DarkYellow
4445

4546
if ($skip -gt 0)
4647
{

0 commit comments

Comments
 (0)