clear-historyVerwijder vermeldingen uit de Powershell-sessie commandogeschiedenis. Opmerking:
clhykan gebruikt worden als een alias voorClear-History. Meer informatie: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/clear-history.
Clear-History
Clear-History -CommandLine "{{commando}}"
Clear-History -CommandLine {{"commando1", "commando2", ...}}
Clear-History -Id {{id_nummer}}
Clear-History -Id {{id1, id2, ...}}
Clear-History -Id ({{start_id}}..{{eind_id}})
Clear-History -WhatIf
Clear-History -Confirm