While Loop Through Array Powershell Version Command