Win10

Get powershell history

(Get-PSReadlineOption).HistorySavePath