Usefulness of the last command result new behavior in PowerShell 7
In case you missed it, there is a change in the behavior of the Last Command Result variable $? variable with PowerShell 7.
Until now, the Last Command Result variable $? did not always accurately reflect the result of the former command…