powershell validatescript array