How to update PowerShell on 64bit Windows 7? Version check?

pstein

New member
Member
VIP
Local time
4:39 AM
Messages
244
I need to update the current Powershell in an 64bit Windows 7 (Pro) system.


Some questions:

When I open powershell console and type:

$PsVersionTable.PSVersion

Major Minor Build Revision
----- ----- ----- --------
5 1 14409 1018


Is this the current Powershell version or the underlying Windows Management Framework version?

When I go to

Releases . PowerShell/PowerShell . GitHub

then there are two win-x64 v7.0.3 packages: a *.msi and a *.zip.

I prefer to have the portable *.zip package.

Can I simply extract it to

C:\Windows\System32\WindowsPowerShell\

and let it run?

Or are there any other preparations necessary (beside installation of newest Windows Management Framework)?

When I enter (in Command prompt) "powershell" then this command is not recognized.

Do I have to add manually the path to powershell.exe to the PATH environment variable (for portable Powershell)?


Peter
 

My Computer

Computer type
PC/Desktop
OS
win7pro 64bit
You might need to unblock the zip files first, before you can run them. Go into file>properties and check the unblock box, then select OK.

Version 5.1 refers to both Powershell version and WMF version. To install version 6.0 and after, you need to upgrade the Powershell Core, which is what you are attempting to do, I think.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
To find the PowerShell version in Windows,

  1. Open PowerShell. ...
  2. Type or copy-paste the following command: Get-Host | Select-Object Version .
  3. In the output, you will see the version of PowerShell.
  4. Alternatively, type $PSVersionTable and hit the Enter key.
  5. See the PSVersion line.
The first command didn't work for me until I took off the period. The second did. I would not get powershell from anywhere but M$. If it isn't being offered through automatic updates check hidden updates and make sure that other software is turned on. You might also check their website. PowerShell Documentation - PowerShell | Microsoft Docs
 

My Computers

System One System Two

Back
Top