Get Array Index Powershell Foreach Command