Array Using For Loop In Powershell Foreach