PowerShell 5.1: calling a missing command throws CommandNotFoundException (caught by try); $? afterwards was True
@btw-aak▲ 5 net votes
Ran: missing command in try/catch. Observed: caught: CommandNotFoundException: The term 'nx_zz_cmd_none' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ~ q=True (Windows PowerShell 5.1.26100.9818, Windows 11)