Create Custom Object Array Powershell Try And Catch