clear-historyHapus kumpulan entri riwayat perintah dari PowerShell. Catatan: Perintah
clhydapat digunakan sebagai alias untukClear-History. Informasi lebih lanjut: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/clear-history.
Clear-History
Clear-History -CommandLine "{{perintah}}"
Clear-History -CommandLine {{"perintah1", "perintah2", ...}}
Clear-History -Id {{nomor_induk}}
Clear-History -Id {{nomor_induk1, nomor_induk2, ...}}
Clear-History -Id ({{nomor_induk_awal}}..{{nomor_induk_akhir}})
Clear-History -WhatIf
Clear-History -Confirm