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

Andy

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.

Ramhound

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

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

List installed font names in Windows 10 Universal App

分類Dev

Why can't I see my USB drive during Windows 7 installation?

分類Dev

Ubuntu 16.04 won't boot when installed after Windows 10

分類Dev

Where will the boot loader be installed if I choose "install alongside windows 10"

分類Dev

Why can't I see remote video in my WebRTC app?

分類Dev

App has stopped unexpectedly, and i don't know why

分類Dev

Shutter is running, but I don't see it

分類Dev

Why can't I use for in makefile on Windows?

分類Dev

Why can't I reference a .Net Core 1.0 assembly in a Windows Universal app?

分類Dev

Ran a for loop to create several symlinks at once, two of them failed and I don't see why

分類Dev

Can't install create-react-app on windows 10

分類Dev

How can I reinstall Windows 10's calculator app?

分類Dev

Ubuntu 16.04 can't see my SSD partitions when installing alongside Windows 10

分類Dev

Windows 10 per app equalizer

分類Dev

I don't see team in Xcode I'm member of

分類Dev

What is included in the Windows 10 Container feature, and why do I need Docker for Windows on top of that?

分類Dev

I possibly broke windows defender windows 10

分類Dev

Why can't I see gnome extensions?

分類Dev

Why do subprocesses import the main module at start on Windows while they don't on Linux?

分類Dev

Small error but I don't see where - Symfony Foreign keys

分類Dev

Why can't I pass in system properties to elasticsearch on windows

分類Dev

Windows in Gnome Metacity don't have shadows

分類Dev

nodejs don't close file handle on windows?

分類Dev

why view pager class is not in android.app package , I don't want to use support library

分類Dev

Avoid dot backslash Windows 10 Powershell

分類Dev

How to get the list of installed applications on Windows 10 from Java

分類Dev

Installing windows 10 again on a pre-installed system

分類Dev

How to enumerate the installed StoreApps and their ID in Windows 8 and 10

分類Dev

How can I install Windows after I've installed Ubuntu?

Related 関連記事

  1. 1

    List installed font names in Windows 10 Universal App

  2. 2

    Why can't I see my USB drive during Windows 7 installation?

  3. 3

    Ubuntu 16.04 won't boot when installed after Windows 10

  4. 4

    Where will the boot loader be installed if I choose "install alongside windows 10"

  5. 5

    Why can't I see remote video in my WebRTC app?

  6. 6

    App has stopped unexpectedly, and i don't know why

  7. 7

    Shutter is running, but I don't see it

  8. 8

    Why can't I use for in makefile on Windows?

  9. 9

    Why can't I reference a .Net Core 1.0 assembly in a Windows Universal app?

  10. 10

    Ran a for loop to create several symlinks at once, two of them failed and I don't see why

  11. 11

    Can't install create-react-app on windows 10

  12. 12

    How can I reinstall Windows 10's calculator app?

  13. 13

    Ubuntu 16.04 can't see my SSD partitions when installing alongside Windows 10

  14. 14

    Windows 10 per app equalizer

  15. 15

    I don't see team in Xcode I'm member of

  16. 16

    What is included in the Windows 10 Container feature, and why do I need Docker for Windows on top of that?

  17. 17

    I possibly broke windows defender windows 10

  18. 18

    Why can't I see gnome extensions?

  19. 19

    Why do subprocesses import the main module at start on Windows while they don't on Linux?

  20. 20

    Small error but I don't see where - Symfony Foreign keys

  21. 21

    Why can't I pass in system properties to elasticsearch on windows

  22. 22

    Windows in Gnome Metacity don't have shadows

  23. 23

    nodejs don't close file handle on windows?

  24. 24

    why view pager class is not in android.app package , I don't want to use support library

  25. 25

    Avoid dot backslash Windows 10 Powershell

  26. 26

    How to get the list of installed applications on Windows 10 from Java

  27. 27

    Installing windows 10 again on a pre-installed system

  28. 28

    How to enumerate the installed StoreApps and their ID in Windows 8 and 10

  29. 29

    How can I install Windows after I've installed Ubuntu?

ホットタグ

アーカイブ