Okay, I have some hash tables I need to combine using PowerShell. Here is an example of the format:
$table1 = @{"A" = "1,2";
"B" = "3,4";
"C" = "5,6"}
$table2 = @{"A" = "3";
"B" = "5";
"C" = "7"}
I need to combine the tables in order to create the following table:
$newTable = @{"A" = "1,2,3";
"B" = "3,4,5";
"C" = "5,6,7"}
Basically, the keys and values need to be compared. If the values are different, they needed to be added together. Thanks!