how to check the history of commands in powershell code example Example: powershell get all history (Get-PSReadlineOption).HistorySavePath