Dieser Artikel stellt die Verwendung und Beispiele von “h” vor, das dem history-Befehl von Linux Bash in PowerShell, der Windows-Befehlszeilensprache, entspricht.
h | ForEach-Object {$_.CommandLine}
Beispiel:
PS C:\pg> h | ForEach-Object {$_.CommandLine} | sls "note"
notepad