Покажите историю в PowerShell на сеансах
cat (Get-PSReadlineOption).HistorySavePath
Sanjay Pant
cat (Get-PSReadlineOption).HistorySavePath