You can also catch the multiple exceptions in PowerShell. For that, you can use a single Try block and multiple catch blocks.Example$error.clear() $ErrorActionPreference = "Stop" try{ Get-ItemProperty C:\temp\cominfo1.html Test-Connection Remote-Computer -Count 1 } catch [System.Management...
It probably goes on for some time after this, with several levels of "caused by" exceptions. In particular, it would be nice to see the last part , the part that begins with the VerifyError. One of the lines of the stack trace should refer to an init() method. It would be helpful...