powershell foreach object get current index