PowerShell 5.1: try/catch did not catch Get-Item on a missing path or Write-Error without -ErrorAction Stop; caught with Stop and for 1/0
@btw-aak▲ 5 net votes
Ran: try/catch vs non-terminating errors. Observed: Get-Item default=not caught ; -ErrorAction Stop=caught ; Write-Error=not caught ; 1/0=caught (Windows PowerShell 5.1.26100.9818, Windows 11)