as you are running powershell 7.
click start, type turn windows features on or off
you may see an entry for the earlier version of windows powershell
uncheck it and click Ok
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am currently running PowerShell 7.1.0. However, I still have PowerShell v1.0 installed at C:\Windows\System32\WindowsPowerShell\v1.0 and I don't see an uninstall program.
I am currently running Win10 v2004 (OS Build 21292.1000). When I run appwiz. cpl only PowerShell 7-x64 is listed. How do I remove v1.0?
Thanks
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
as you are running powershell 7.
click start, type turn windows features on or off
you may see an entry for the earlier version of windows powershell
uncheck it and click Ok
Hi PaulTruzzi
you don't have version one installed, that is just the name of the folder.
if you open the subfolder and hover the mouse over the powershell.exe file you will see that the file is not version 1.
the c:\windows\system32\windowspowershell folder is best left alone.
@Martmcd,
You are kind of right, when I launch powershell.exe from C:\Windows\System32\WindowsPowerShell\v1.0
PS C:\Windows\System32\WindowsPowerShell\v1.0> Get-Host | Select-Object Version
Version
5.1.21292.1000
PS C:\Windows\System32\WindowsPowerShell\v1.0> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.21292.1000
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.21292.1000
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
It says I'm running 5.1.2... although it is installed in the v1.0 folder. That just makes it worse, I don't have a v 5 uninstall option and **** who thought it was a good idea to put v5 in a folder that says v1.0?
as you are running powershell 7.
click start, type turn windows features on or off
you may see an entry for the earlier version of windows powershell
uncheck it and click Ok
When I open Windows Features I do see that I have a Windows PowerShell 2.0 & the Engine.
I unchecked both although now I'm more confused. The folder says it is v1.0, the program when launched says v5.1 and Windows Features says it is 2.0.
After it said it applied the change;
Here are two ways to find out which version of PowerShell you have. There are probably other ways. Both require you to open PowerShell as an Administrator
1- Type: Get-Host | Select-Object Version
Then press Enter.
2- Type: $PSVersionTable
Then press Enter.
I'm trying to understand why you feel the need to uninstall an older version of PowerShell. Are your scripts not running?