Convert-Bytes returns hash with former and current unit

This commit is contained in:
Crited 2019-10-31 09:43:13 +01:00
parent 867df9f37e
commit beb2843a9b

View file

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