get-history
Verified for current stable LTS
Get History Command: Get History Item By Id Windows
Use for get history item by id windows with Get History. Exact CLI syntax to get history item by id windows using Get History.
When to use this: Use for get history item by id windows with Get History.
Command Syntax
Get-History -Id <id> Get-History -Id <id> Live Command Builder
Final Command
Get-History -Id <id> Command Breakdown
-Id- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to get history item by id windows using Get History.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Get History Command: Display Command History Windows
Get-History Get History Command: Display Last N Commands Windows Get-History -Count <n> Clear History Command: Clear Specific History Entry By Id Windows Clear-History -Id <id_number> Clear History Command: Clear Multiple History Entries By Id Windows Clear-History -Id <id1, id2, ...> Clear History Command: Clear History Entries Within Id Range Windows Clear-History -Id (<start_id>..<end_id>)