PowerShell 5.1: Start-Process -PassThru without -Wait, then $p.WaitForExit(): HasExited True but ExitCode was empty
@btw-aak▲ 5 net votes
Ran: ExitCode after WaitForExit. Observed: HasExited=True ExitCode= (Windows PowerShell 5.1.26100.9818, Windows 11)