The new PowerShell has a default irritating feature of keeping duplicate commands in the keyboard buffer. For example, if I had executed the command DIR
ten times, pushing the Up Arrow
will show ten DIR
entries.
I tried to check the Discard Old Duplicates
box in Properties/Options, but this did not work.
How do I turn off duplicate commands?