Convert-Bytes returns hash with former and current unit

This commit is contained in:
Alexander Stoll 2019-10-31 09:43:13 +01:00
parent 98afce3506
commit bd3d62ff7f

View file

@ -34,7 +34,7 @@ function Convert-Bytes()
} }
} }
} }
return $FinalValue; return @{'value' = $FinalValue; 'pastunit' = $CurrentUnit; 'endunit' = $Unit};
} }
Throw 'Invalid input'; Throw 'Invalid input';
} }