diff --git a/pages/windows/get-history.md b/pages/windows/get-history.md new file mode 100644 index 0000000000..8ae85292de --- /dev/null +++ b/pages/windows/get-history.md @@ -0,0 +1,16 @@ +# Get-History + +> Display PowerShell command history. +> More information: . + +- Display the commands history list with ID: + +`Get-History` + +- Get PowerShell history item by ID: + +`Get-History -Id {{id}}` + +- Display the last N commands: + +`Get-History -Count {{count}}`