Using `[parameter(ValueFromRemainingArguments=$true)]` one can get all the remaining arguments passed to the function into a variable as a list.

How can I get the remaining arguments as a hashtable type, for example for inputs like `Function -var1 value1 -var2 value2`?