- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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