Get Array Index Powershell Script To Enable Wake