fix consistency error in ConvertTo-ByteUnit.psm1

This commit is contained in:
Niko Martini 2019-07-17 10:03:58 +02:00
parent fdc31beac5
commit 64ba37e9c6

View file

@ -41,7 +41,7 @@ function ConvertTo-KiloByte()
$result = ($Value / 1000);
}
KB {
Write-Output $Value;
$result = $Value;
}
MB {
$result = ($Value * [math]::Pow(10, 3));