Enable-RemoteMailbox cmdlet not handling non terminating errors

Hello,

I'm using Enable-RemoteMailbox cmdlet and I wanted to handle non-terminating exceptions generated by the cmdlet. I searched '-ErrorAction Stop' parameter and used with Enable-RemoteMailbox cmdlet but no luck.

Someone please help me out on this.

Appreciate the help

Parents Reply Children