win10 powershell的命令历史记录存储在
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine
地址下的ConsoleHost_history.txt
可以删除某些或全部历史记录
在powershell中可以按上下方向键查询历史命令
或使用命令
get-history
win10 powershell的命令历史记录存储在
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine
地址下的ConsoleHost_history.txt
可以删除某些或全部历史记录
在powershell中可以按上下方向键查询历史命令
或使用命令
get-history