http://stackoverflow.com/questions/5879871/powershell-updating-hash-table-values-in-a-foreach-loop#