clear-history
Verified for current stable LTS
Clear History Command: Require Confirmation Before Clearing History Windows
Use for require confirmation before clearing history windows with Clear History. Exact CLI syntax to require confirmation before clearing history windows using Clear History.
When to use this: Use for require confirmation before clearing history windows with Clear History.
Command Syntax
Clear-History -Confirm Clear-History -Confirm Live Command Builder
Final Command
Clear-History -Confirm Command Breakdown
-Confirm- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to require confirmation before clearing history windows using Clear 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
Clear History Command: Clear All History Current Session Windows
Clear-History Clear History Command: Clear History Entries Within Id Range Windows Clear-History -Id (<start_id>..<end_id>) Clear History Command: Clear Multiple Commands From History Windows Clear-History -CommandLine <"command1", "command2", ...> Clear History Command: Clear Multiple History Entries By Id Windows Clear-History -Id <id1, id2, ...> Clear History Command: Clear Specific Command From History Windows Clear-History -CommandLine "<command>"