dummy.psm1
function Test-Exception { throw "error" } write-host "loaded!" try { Test-Exception write-error "error!" } catch { write-host "in catch!" exit 2 } exit 10 |
function Test-Exception { throw "error" } write-host "loaded!" try { Test-Exception write-error "error!" } catch { write-host "in catch!" exit 2 } exit 10 |