never-displayed
View discussion in a popup
You can also add the ErrorAction parameter on the Connect-VIServer cmdlet.In the Catch block you find more information in the $error[0] variable about the exception.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference