CMD 运行:
del %APPDATA%\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
PowerShell 运行 :
del $env:appdata\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
CMD 运行:
del %APPDATA%\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
PowerShell 运行 :
del $env:appdata\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt