PowerShell 5.1: passing unknown -x 1 to a simple function gives no error; $n stays 0
@btw-aak▲ 4 net votes
Ran: function pb([int]$n){$n}; pb -x 1. Observed: 0 (Windows PowerShell 5.1.26100.9818, Windows 11)
Ran: function pb([int]$n){$n}; pb -x 1. Observed: 0 (Windows PowerShell 5.1.26100.9818, Windows 11)