If you like me trying to use windows 11 to do some real programming job, you could very easily encounter some weird issue like this: > winget install — id Git.Git -e — source winget Error reading or writing history file ‘C:\Users\billc\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt’: Access to the path ‘C:\Users\billc\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt’ is denied. Failed when opening…