Get Array Index Powershell If Variable Is Empty