LucD
Leadership
Leadership

Oh, and btw, if a cmdlet produces a non-terminating error, it will not jump into the catch block.
You can force a non-terminating error to become a terminating error by adding the -ErrorAction Stop parameter.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference