Get Array Index Powershell Version 7