在这里: %USERPROFILE%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine 可以针对某一个命令删除后不显示在powershell的历史记录里 相关文章: