If you spend a lot of time in a PowerShell console, it’s not rash to presume that you’re going to be running some of the same commands over and over again.
That’s where PowerShell’s history comes into play.
By using the command
Get-Historyor even its alias
h, you can see the commands that you’ve run before:
Click through to see how it works, as well as a few other tips.