diff --git a/lib/core/tools/ConvertTo-ByteUnit.psm1 b/lib/core/tools/ConvertTo-ByteUnit.psm1 index e2db959..6aafb44 100644 --- a/lib/core/tools/ConvertTo-ByteUnit.psm1 +++ b/lib/core/tools/ConvertTo-ByteUnit.psm1 @@ -41,7 +41,7 @@ function ConvertTo-KiloByte() $result = ($Value / 1000); } KB { - Write-Output $Value; + $result = $Value; } MB { $result = ($Value * [math]::Pow(10, 3));