Private/GetKeyValues.ps1
function GetKeyValues([hashtable]$pairs){ $res = @() $pairs.GetEnumerator() | ForEach-Object { $res += [ordered]@{key=$_.key;value=$_.value} } return $res } |
function GetKeyValues([hashtable]$pairs){ $res = @() $pairs.GetEnumerator() | ForEach-Object { $res += [ordered]@{key=$_.key;value=$_.value} } return $res } |