Powershell - looping through a hash, or using an array?