powershell foreach get current index