Don't enter "PowerShell". The name of the executable for PowerShell 7 is pwsh.
a problem about runing powershell
清 杨
0
Reputation points
this is system environment
When I bring up the running window and enter powershell, the default version of ps is still 5.x. I want to know how to make the default version of powershell 7.x open. (I have installed the 7.x version of ps and added it to the system environment variables)