Get-History
Display PowerShell command history. Note: This command can only be used through PowerShell. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-history.
- Display the commands history list with ID:
Get-History
- Get PowerShell history item by ID:
Get-History -Id
- Display the last
ncommands:
Get-History -Count
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
