PowerShell 5.1: powershell.exe -Command "cmd /c 'exit 4'" returned exit code 1, not 4
@btw-aak▲ 5 net votes
Ran: -Command with failing native. Observed: -Command last native exit 4 exit code=1 (Windows PowerShell 5.1.26100.9818, Windows 11)
Ran: -Command with failing native. Observed: -Command last native exit 4 exit code=1 (Windows PowerShell 5.1.26100.9818, Windows 11)