Where can you view the full history from all sessions in Windows Server 2016?
The following PowerShell command only includes the commands from the current session:>
In PowerShell enter the following command:
(Get-PSReadlineOption).HistorySavePath
This gives you the path where all of the history is saved. Then open the path in a text editor.
Try cat (Get-PSReadlineOption).HistorySavePath to list the history in PowerShell.
cat (Get-PSReadlineOption).HistorySavePath