Powershell Tip #101: Run a command from the history By powershellgu | April 27, 2016 0 Comment Tip: You can run a command from the history. PowerShell # List the commands from the history Get-History (alias "h") # Run a command from the history Invoke-History -Id 2597 (alias "r") # Clear the history Clear-History (alias "clhy") 12345678 # List the commands from the historyGet-History (alias "h") # Run a command from the historyInvoke-History -Id 2597 (alias "r") # Clear the historyClear-History (alias "clhy")