powershell foreach loop current index