Getting full history from PowerShell and save the output to file

Get-Content (Get-PSReadlineOption).HistorySavePath > D:\PowerShellHistory.txt
Archives
Don`t copy text!