Fichier d'historique des commandes PowerShell

Get-History | Format-List -Property *
#By default, the PowerShell in Windows 10 saves the last 4096 commands that are stored in a plain text file located in the profile of each user: 
get-content $env:USERPROFILE\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt
Cortland Guse