powershell history command only shows this session code example Example: powershell get all history (Get-PSReadlineOption).HistorySavePath