mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
fix consistency error in ConvertTo-ByteUnit.psm1
This commit is contained in:
parent
fdc31beac5
commit
64ba37e9c6
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ function ConvertTo-KiloByte()
|
||||||
$result = ($Value / 1000);
|
$result = ($Value / 1000);
|
||||||
}
|
}
|
||||||
KB {
|
KB {
|
||||||
Write-Output $Value;
|
$result = $Value;
|
||||||
}
|
}
|
||||||
MB {
|
MB {
|
||||||
$result = ($Value * [math]::Pow(10, 3));
|
$result = ($Value * [math]::Pow(10, 3));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue