This the simplest way to get working error codes without encompassing all CI code in a try/catch... SetErrorAction was not an option because we do not only use Powershell Cmdlets.
This the simplest way to get working error codes without encompassing all CI code in a try/catch... SetErrorAction was not an option because we do not only use Powershell Cmdlets.