Why don't I see WIndows Powershell in the installed app on Windows 10












2















I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it. I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.



I checked this link to get some clue about how to install Windows PowerShell on Windows 10. And it appears that one can not install Windows PowerShell individually. So I installed Windows Powershell Core 6.xx from here,



Edit:




please note: I am unable to install WMF 5.1 on window 10.




But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).



I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



enter image description here



So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on console, it is 5.1.xx ?



What am I doing wrong or what am I missing? I am bit confused.










share|improve this question




















  • 1





    Do you have Powershell 6 under $env:ProgramFilesPowerShell<version>pwsh.exe?

    – root
    Jan 12 at 21:20






  • 1





    PowerShell 6.x is PowerShell Core, whereas PowerShell 5.1, is the legacy PowerShell. PowerShell Core (6.x) is a fork of PowerShell.. PowerShell 5.x and PowerShell 6.x can exist on the same system if $PSVersionTable is indicating 5.1, then you are running the wrong instance of PowerShell. I am working on an answer that will explain what really happened.

    – Ramhound
    Jan 13 at 0:59


















2















I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it. I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.



I checked this link to get some clue about how to install Windows PowerShell on Windows 10. And it appears that one can not install Windows PowerShell individually. So I installed Windows Powershell Core 6.xx from here,



Edit:




please note: I am unable to install WMF 5.1 on window 10.




But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).



I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



enter image description here



So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on console, it is 5.1.xx ?



What am I doing wrong or what am I missing? I am bit confused.










share|improve this question




















  • 1





    Do you have Powershell 6 under $env:ProgramFilesPowerShell<version>pwsh.exe?

    – root
    Jan 12 at 21:20






  • 1





    PowerShell 6.x is PowerShell Core, whereas PowerShell 5.1, is the legacy PowerShell. PowerShell Core (6.x) is a fork of PowerShell.. PowerShell 5.x and PowerShell 6.x can exist on the same system if $PSVersionTable is indicating 5.1, then you are running the wrong instance of PowerShell. I am working on an answer that will explain what really happened.

    – Ramhound
    Jan 13 at 0:59
















2












2








2








I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it. I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.



I checked this link to get some clue about how to install Windows PowerShell on Windows 10. And it appears that one can not install Windows PowerShell individually. So I installed Windows Powershell Core 6.xx from here,



Edit:




please note: I am unable to install WMF 5.1 on window 10.




But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).



I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



enter image description here



So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on console, it is 5.1.xx ?



What am I doing wrong or what am I missing? I am bit confused.










share|improve this question
















I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it. I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.



I checked this link to get some clue about how to install Windows PowerShell on Windows 10. And it appears that one can not install Windows PowerShell individually. So I installed Windows Powershell Core 6.xx from here,



Edit:




please note: I am unable to install WMF 5.1 on window 10.




But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).



I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



enter image description here



So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on console, it is 5.1.xx ?



What am I doing wrong or what am I missing? I am bit confused.







windows-10 powershell






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 14 at 0:38







Andy

















asked Jan 12 at 20:55









AndyAndy

14016




14016








  • 1





    Do you have Powershell 6 under $env:ProgramFilesPowerShell<version>pwsh.exe?

    – root
    Jan 12 at 21:20






  • 1





    PowerShell 6.x is PowerShell Core, whereas PowerShell 5.1, is the legacy PowerShell. PowerShell Core (6.x) is a fork of PowerShell.. PowerShell 5.x and PowerShell 6.x can exist on the same system if $PSVersionTable is indicating 5.1, then you are running the wrong instance of PowerShell. I am working on an answer that will explain what really happened.

    – Ramhound
    Jan 13 at 0:59
















  • 1





    Do you have Powershell 6 under $env:ProgramFilesPowerShell<version>pwsh.exe?

    – root
    Jan 12 at 21:20






  • 1





    PowerShell 6.x is PowerShell Core, whereas PowerShell 5.1, is the legacy PowerShell. PowerShell Core (6.x) is a fork of PowerShell.. PowerShell 5.x and PowerShell 6.x can exist on the same system if $PSVersionTable is indicating 5.1, then you are running the wrong instance of PowerShell. I am working on an answer that will explain what really happened.

    – Ramhound
    Jan 13 at 0:59










1




1





Do you have Powershell 6 under $env:ProgramFilesPowerShell<version>pwsh.exe?

– root
Jan 12 at 21:20





Do you have Powershell 6 under $env:ProgramFilesPowerShell<version>pwsh.exe?

– root
Jan 12 at 21:20




1




1





PowerShell 6.x is PowerShell Core, whereas PowerShell 5.1, is the legacy PowerShell. PowerShell Core (6.x) is a fork of PowerShell.. PowerShell 5.x and PowerShell 6.x can exist on the same system if $PSVersionTable is indicating 5.1, then you are running the wrong instance of PowerShell. I am working on an answer that will explain what really happened.

– Ramhound
Jan 13 at 0:59







PowerShell 6.x is PowerShell Core, whereas PowerShell 5.1, is the legacy PowerShell. PowerShell Core (6.x) is a fork of PowerShell.. PowerShell 5.x and PowerShell 6.x can exist on the same system if $PSVersionTable is indicating 5.1, then you are running the wrong instance of PowerShell. I am working on an answer that will explain what really happened.

– Ramhound
Jan 13 at 0:59












1 Answer
1






active

oldest

votes


















3















I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it.




Since you are running Windows 10, it is not actually possible, to uninstall PowerShell 5.1. Windows PowerShell 2.0 Engine can be installed for compatibility reasons and is not necessary to run PowerShell 5.1.




I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.




What you removed is PowerShell Core, which is a fork of PowerShell 5.1, and is installed independently and exists alongside the Windows PowerShell.




But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).




When PowerShell Core is installed, you would have to different PowerShell desktop applications, one for Windows PowerShell and the other for PowerShell Core.




I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



enter image description here




Based on the information contained within the screenshot, you have launched a Windows PowerShell command prompt.




So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on the console, it is 5.1.xx ?




PowerShell Core can be installed Windows PowerShell is built into Windows 10 and cannot be installed or removed.




What am I doing wrong or what am I missing? I am bit confused.




You are doing nothing wrong. You simply don't understand the difference between PowerShell Core and Windows PowerShell. If you are attempting to launch a PowerShell 6 command prompt, you need to launch the Desktop application, PowerShell 6 instead of Windows PowerShell.



enter image description here



It is worth pointing out that uninstalling Windows PowerShell 2.0 does not uninstall Windows PowerShell on Windows 10. Starting with Windows 8, the version of Windows PowerShell that comes with Windows, cannot be uninstalled. You can only uninstall, the version of Windows PowerShell that comes with the applicable version of the Windows Management Framework, by uninstalling the applicable Windows Management Framework. While you might have you installed Windows Management Framework 5.1 it did not "reinstall" Windows PowerShell since you never actually uninstalled it.



Windows has for awhile used PowerShell scripts to perform certain actions. Which is the reason you cannot actually uninstall the default version, starting with Windows 8. It is important to point out, for security reasons, you might actually want to uninstall the Windows PowerShell 2.0 Engine unless you need it specifically for legacy PowerShell scripts.




enter image description here




Source: Windows PowerShell System Requirements




enter image description here




Source: Upgrading existing Windows PowerShell



Just to illustrate the fact Windows PowerShell and PowerShell Core are indeed separate, this is a screenshot of two PowerShell command prompts, running at the same time.



enter image description here






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393588%2fwhy-dont-i-see-windows-powershell-in-the-installed-app-on-windows-10%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3















    I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it.




    Since you are running Windows 10, it is not actually possible, to uninstall PowerShell 5.1. Windows PowerShell 2.0 Engine can be installed for compatibility reasons and is not necessary to run PowerShell 5.1.




    I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.




    What you removed is PowerShell Core, which is a fork of PowerShell 5.1, and is installed independently and exists alongside the Windows PowerShell.




    But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).




    When PowerShell Core is installed, you would have to different PowerShell desktop applications, one for Windows PowerShell and the other for PowerShell Core.




    I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



    enter image description here




    Based on the information contained within the screenshot, you have launched a Windows PowerShell command prompt.




    So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on the console, it is 5.1.xx ?




    PowerShell Core can be installed Windows PowerShell is built into Windows 10 and cannot be installed or removed.




    What am I doing wrong or what am I missing? I am bit confused.




    You are doing nothing wrong. You simply don't understand the difference between PowerShell Core and Windows PowerShell. If you are attempting to launch a PowerShell 6 command prompt, you need to launch the Desktop application, PowerShell 6 instead of Windows PowerShell.



    enter image description here



    It is worth pointing out that uninstalling Windows PowerShell 2.0 does not uninstall Windows PowerShell on Windows 10. Starting with Windows 8, the version of Windows PowerShell that comes with Windows, cannot be uninstalled. You can only uninstall, the version of Windows PowerShell that comes with the applicable version of the Windows Management Framework, by uninstalling the applicable Windows Management Framework. While you might have you installed Windows Management Framework 5.1 it did not "reinstall" Windows PowerShell since you never actually uninstalled it.



    Windows has for awhile used PowerShell scripts to perform certain actions. Which is the reason you cannot actually uninstall the default version, starting with Windows 8. It is important to point out, for security reasons, you might actually want to uninstall the Windows PowerShell 2.0 Engine unless you need it specifically for legacy PowerShell scripts.




    enter image description here




    Source: Windows PowerShell System Requirements




    enter image description here




    Source: Upgrading existing Windows PowerShell



    Just to illustrate the fact Windows PowerShell and PowerShell Core are indeed separate, this is a screenshot of two PowerShell command prompts, running at the same time.



    enter image description here






    share|improve this answer






























      3















      I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it.




      Since you are running Windows 10, it is not actually possible, to uninstall PowerShell 5.1. Windows PowerShell 2.0 Engine can be installed for compatibility reasons and is not necessary to run PowerShell 5.1.




      I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.




      What you removed is PowerShell Core, which is a fork of PowerShell 5.1, and is installed independently and exists alongside the Windows PowerShell.




      But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).




      When PowerShell Core is installed, you would have to different PowerShell desktop applications, one for Windows PowerShell and the other for PowerShell Core.




      I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



      enter image description here




      Based on the information contained within the screenshot, you have launched a Windows PowerShell command prompt.




      So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on the console, it is 5.1.xx ?




      PowerShell Core can be installed Windows PowerShell is built into Windows 10 and cannot be installed or removed.




      What am I doing wrong or what am I missing? I am bit confused.




      You are doing nothing wrong. You simply don't understand the difference between PowerShell Core and Windows PowerShell. If you are attempting to launch a PowerShell 6 command prompt, you need to launch the Desktop application, PowerShell 6 instead of Windows PowerShell.



      enter image description here



      It is worth pointing out that uninstalling Windows PowerShell 2.0 does not uninstall Windows PowerShell on Windows 10. Starting with Windows 8, the version of Windows PowerShell that comes with Windows, cannot be uninstalled. You can only uninstall, the version of Windows PowerShell that comes with the applicable version of the Windows Management Framework, by uninstalling the applicable Windows Management Framework. While you might have you installed Windows Management Framework 5.1 it did not "reinstall" Windows PowerShell since you never actually uninstalled it.



      Windows has for awhile used PowerShell scripts to perform certain actions. Which is the reason you cannot actually uninstall the default version, starting with Windows 8. It is important to point out, for security reasons, you might actually want to uninstall the Windows PowerShell 2.0 Engine unless you need it specifically for legacy PowerShell scripts.




      enter image description here




      Source: Windows PowerShell System Requirements




      enter image description here




      Source: Upgrading existing Windows PowerShell



      Just to illustrate the fact Windows PowerShell and PowerShell Core are indeed separate, this is a screenshot of two PowerShell command prompts, running at the same time.



      enter image description here






      share|improve this answer




























        3












        3








        3








        I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it.




        Since you are running Windows 10, it is not actually possible, to uninstall PowerShell 5.1. Windows PowerShell 2.0 Engine can be installed for compatibility reasons and is not necessary to run PowerShell 5.1.




        I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.




        What you removed is PowerShell Core, which is a fork of PowerShell 5.1, and is installed independently and exists alongside the Windows PowerShell.




        But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).




        When PowerShell Core is installed, you would have to different PowerShell desktop applications, one for Windows PowerShell and the other for PowerShell Core.




        I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



        enter image description here




        Based on the information contained within the screenshot, you have launched a Windows PowerShell command prompt.




        So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on the console, it is 5.1.xx ?




        PowerShell Core can be installed Windows PowerShell is built into Windows 10 and cannot be installed or removed.




        What am I doing wrong or what am I missing? I am bit confused.




        You are doing nothing wrong. You simply don't understand the difference between PowerShell Core and Windows PowerShell. If you are attempting to launch a PowerShell 6 command prompt, you need to launch the Desktop application, PowerShell 6 instead of Windows PowerShell.



        enter image description here



        It is worth pointing out that uninstalling Windows PowerShell 2.0 does not uninstall Windows PowerShell on Windows 10. Starting with Windows 8, the version of Windows PowerShell that comes with Windows, cannot be uninstalled. You can only uninstall, the version of Windows PowerShell that comes with the applicable version of the Windows Management Framework, by uninstalling the applicable Windows Management Framework. While you might have you installed Windows Management Framework 5.1 it did not "reinstall" Windows PowerShell since you never actually uninstalled it.



        Windows has for awhile used PowerShell scripts to perform certain actions. Which is the reason you cannot actually uninstall the default version, starting with Windows 8. It is important to point out, for security reasons, you might actually want to uninstall the Windows PowerShell 2.0 Engine unless you need it specifically for legacy PowerShell scripts.




        enter image description here




        Source: Windows PowerShell System Requirements




        enter image description here




        Source: Upgrading existing Windows PowerShell



        Just to illustrate the fact Windows PowerShell and PowerShell Core are indeed separate, this is a screenshot of two PowerShell command prompts, running at the same time.



        enter image description here






        share|improve this answer
















        I was trying to reinstall Windows PowerShell on Windows 10 after I accidentally removed it.




        Since you are running Windows 10, it is not actually possible, to uninstall PowerShell 5.1. Windows PowerShell 2.0 Engine can be installed for compatibility reasons and is not necessary to run PowerShell 5.1.




        I was trying to upgrade to latest PowerShell Core and in the instructions to remove AzureRM module with the new Az module, I removed the Windows PowerShell on Windows 10.




        What you removed is PowerShell Core, which is a fork of PowerShell 5.1, and is installed independently and exists alongside the Windows PowerShell.




        But now I see Powershell 6.XX in the installed app instead of Windows PowerShell (which was there before I uninstalled it).




        When PowerShell Core is installed, you would have to different PowerShell desktop applications, one for Windows PowerShell and the other for PowerShell Core.




        I checked the version of the Windows PowerShell on my Windows 10 and found that I have 5.1 installed.



        enter image description here




        Based on the information contained within the screenshot, you have launched a Windows PowerShell command prompt.




        So when I checked under the Installed App in Control panel, I see PowerShell 6.XX. But when I check the Windows Powershell version on the console, it is 5.1.xx ?




        PowerShell Core can be installed Windows PowerShell is built into Windows 10 and cannot be installed or removed.




        What am I doing wrong or what am I missing? I am bit confused.




        You are doing nothing wrong. You simply don't understand the difference between PowerShell Core and Windows PowerShell. If you are attempting to launch a PowerShell 6 command prompt, you need to launch the Desktop application, PowerShell 6 instead of Windows PowerShell.



        enter image description here



        It is worth pointing out that uninstalling Windows PowerShell 2.0 does not uninstall Windows PowerShell on Windows 10. Starting with Windows 8, the version of Windows PowerShell that comes with Windows, cannot be uninstalled. You can only uninstall, the version of Windows PowerShell that comes with the applicable version of the Windows Management Framework, by uninstalling the applicable Windows Management Framework. While you might have you installed Windows Management Framework 5.1 it did not "reinstall" Windows PowerShell since you never actually uninstalled it.



        Windows has for awhile used PowerShell scripts to perform certain actions. Which is the reason you cannot actually uninstall the default version, starting with Windows 8. It is important to point out, for security reasons, you might actually want to uninstall the Windows PowerShell 2.0 Engine unless you need it specifically for legacy PowerShell scripts.




        enter image description here




        Source: Windows PowerShell System Requirements




        enter image description here




        Source: Upgrading existing Windows PowerShell



        Just to illustrate the fact Windows PowerShell and PowerShell Core are indeed separate, this is a screenshot of two PowerShell command prompts, running at the same time.



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 13 at 1:49

























        answered Jan 13 at 1:44









        RamhoundRamhound

        20.1k156085




        20.1k156085






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393588%2fwhy-dont-i-see-windows-powershell-in-the-installed-app-on-windows-10%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕