Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-08 00:19:07 +00:00
parent ba165f8d8e
commit 9dd7a2e5d6
15 changed files with 268 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# Clear-History
> A powershell command to clear the entries in the current session.
> Delete entries from the PowerShell session command history.
> Note: `clhy` can be used as an alias for `Clear-History`.
> More information: <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/clear-history>.
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Clear multiple commands by name:
`Clear-History -CommandLine "{{command_1}}", "{{command_2}}"`
`Clear-History -CommandLine {{"command1", "command2", ...}}`
- Clear a specific history entry by ID:
@@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
- Clear multiple IDs:
`Clear-History -Id {{id_1}}, {{id_2}}, {{id_3}}`
`Clear-History -Id {{id1, id2, ...}}`
- Clear commands within a range of IDs: