Error converting cache to Gb

This commit is contained in:
amd64fox
2022-04-26 00:36:44 +03:00
parent f599ce7d21
commit 7bf2892e38
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ try {
$count = $check
$sum = $count | Measure-Object -Property Length -sum
if ($sum.Sum -ge 104434441824) {
if ($sum.Sum -ge 1044344824) {
$gb = "{0:N2} Gb" -f (($check | Measure-Object Length -s).sum / 1Gb)
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Removed $gb obsolete cache" | Out-File log.txt -append
}