Win10 清除 PowerShell 历史记录

运行命令

Remove-Item (Get-PSReadlineOption).HistorySavePath

即可。

参考资料:https://stackoverflow.com/questions/13257775/powershell-clear-history-doesnt-clear-history

posted @ 2018-04-11 23:39  空の彼方  阅读(2675)  评论(0编辑  收藏  举报