Get-History / Invoke-History
SafeCommand history
Get-History
Lists session history; 'r <id>' reruns an entry. Persistent history lives in PSReadLine's file.
Examples
h | Select-String netshFind past netsh commands
Syntax
Get-History / Invoke-History <id> (r <id>)
Before you run it
Read only.
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store