mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 12:16:10 +02:00

Co-authored-by: Darío Hereñú <magallania@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
17 lines
456 B
Markdown
17 lines
456 B
Markdown
# Get-History
|
|
|
|
> Muestra el historial de comandos de PowerShell.
|
|
> Nota: Este comando solo se puede usar a través de PowerShell.
|
|
> Más información: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-history>.
|
|
|
|
- Muestra la lista de historial de comandos con ID:
|
|
|
|
`Get-History`
|
|
|
|
- Obtiene un elemento del historial de PowerShell por ID:
|
|
|
|
`Get-History -Id {{id}}`
|
|
|
|
- Muestra los últimos N comandos:
|
|
|
|
`Get-History -Count {{10}}`
|