Forum Discussion
SanjeevRana
Apr 19, 2022Copper Contributor
Powershell showing two different version
Hi Everyone, I was using my local laptop to connect to domain controller with PowerShell through Enter-Pssesion. After connecting to it, When I am checking the power shell version for my remote com...
j80r59m
Copper Contributor
I have a similar question! I have recently noticed that Microsoft Update is now automatically updating Powershell which is currently 7.4! Which seemed to work without any errors that I could notice.
But, when I checked the version two different ways, I got Two different versions as well!
If I access Powershell through the Start Menu it shows that the version is 7.4!
If I access Powershell by pressing the Windows Key & the X Key, Powershell recommends a pscore6 Update!
Also, please note that both
Powershell MODES are (ADMINISTRATION).
Feb 06, 2023
The difference between starting pwsh.exe (Powershell 7) and powershell.exe which is version 5 (Built-In Windows version)
- j80r59mFeb 06, 2023Copper ContributorWhy are there TWO VERSIONS?
- Feb 06, 2023There were a lot of versions 🙂 But basically, the one in Windows by default is version 5. Version 7 can be installed separately and updated using Windows Update. This wasn't the case before in earlier versions.
- j80r59mFeb 06, 2023Copper ContributorIs it necessary to have Two versions? & if so how would I Update the the version accessed using the Windows Key & the "X" Key to pscore6? Also, why doesn't Windows update do it automatically?