How to Uninstall PowerShell v1.0

Anonymous
2021-01-15T20:39:00+00:00

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

Windows for home | Windows 10 | Files, folders, and storage

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.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Martmcd 19,915 Reputation points Independent Advisor
    2021-01-15T21:28:24+00:00

    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

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-01-16T04:04:34+00:00

    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?

     You probably were writing your comment while I was posting the exact information you were asking about (see above) which says the version in the \v1.0 folder is really 5.1.21292.1000. To complete the picture here is the output from v7 (yes I know 7.1.1 is out).

    PS C:\Users\Paul> Get-Host | Select-Object Version

    Version


    7.1.0

    PS C:\Users\Paul> $PSVersionTable

    Name                           Value

    ----                           -----

    PSVersion                      7.1.0

    PSEdition                      Core

    GitCommitId                    7.1.0

    OS                             Microsoft Windows 10.0.21292

    Platform                       Win32NT

    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}

    PSRemotingProtocolVersion      2.3

    SerializationVersion           1.1.0.1

    WSManStackVersion              3.0

    As for why I don't like old dead programs lying around on my computer. Well there is first the space issue. My C: is on an NVMe and this wastes valuable, expensive space. Yes, I'm old and remember my first 5MB hard drive. This PowerShell is old, it is either v1.0 or 5.1.something. But in either case it is very old and obsolete.

    I have had random script failures that I have not been able to figure out why they didn't run today, but did yesterday ... and will tomorrow. Or perhaps it is a virus / Trojan masquerading as PowerShell. Or is it just cruft left behind by a crappy install/update process and one of the reasons I have to NUKE Windows every so often and reload it from scratch?

    3 people found this answer helpful.
    0 comments No comments