PowerShell history
Read history file
%userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt(Get-PSReadlineOption).HistorySavePathClearing history file
Remove-Item (Get-PSReadlineOption).HistorySavePathDo you want to set another location for this file?
Set-PSReadlineOption –HistorySavePath C:\Temp\History.txtLast updated