Solved Powershell question


Murray Sobol

Well-known member
Local time
3:23 AM
Posts
47
OS
Windows 11
Windows 11 Professional, 64-bit.
I use, in addition to Windows -> Update Powershell to update my software.

I run Powershell from a command prompt, run as administrator.

I use this command to get updates: winget upgrade -h --all
This produces a list of software needing updates; here is my output:
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------------------------
Windows Software Development Kit - Windows 10.0.1904… Microsoft.WindowsSDK < 10.0.22000.832 10.0.22621.2 winget
Microsoft .NET SDK 6.0.311 (x86) Microsoft.DotNet.SDK.6 6.0.311 6.0.408 winget
Microsoft .NET SDK 6.0.311 (x64) Microsoft.DotNet.SDK.6 6.0.311 6.0.408 winget
PowerShell 7-x86 Microsoft.PowerShell 7.2.6.0 7.3.4.0 winget
Microsoft .NET Core Runtime - 2.1.23 (x86) Microsoft.DotNet.Runtime.3_1 < 3.1.25 3.1.32 winget
Windows Software Development Kit - Windows 10.0.2200… Microsoft.WindowsSDK 10.0.22000.832 10.0.22621.2 winget
Microsoft .NET Core Runtime - 2.1.30 (x64) Microsoft.DotNet.Runtime.3_1 < 3.1.25 3.1.32 winget
PowerShell 7.3.2.0-x64 Microsoft.PowerShell 7.3.2.0 7.3.4.0 winget
Microsoft .NET SDK 6.0.203 (x64) Microsoft.DotNet.SDK.6 6.0.203 6.0.408 winget
9 upgrades available.

Why does Powershell show current version as 7.2.6.0 when I am already at version 7.3.3.0?

When I run winget list, here is the output:

Windows Software Development Kit - Windows 1… Microsoft.WindowsSDK 10.0.22000.832 winget
TypeScript SDK 3.1.1.0 {ddaaa0b6-b8ad-40f1-95cb-2c5e07e1e46e} 3.1.1.0
Microsoft .NET Core Runtime - 2.1.30 (x64) Microsoft.DotNet.Runtime.3_1 < 3.1.25 winget
PowerShell 7.3.2.0-x64 Microsoft.PowerShell 7.3.2.0 winget

How do I resolve this??


Thanks
 

My Computer My Computer

At a glance

Windows 11Intel i7-10750H CPU @2.60 GHz, 2592 MHz, 6 cores32GB
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
MSI
CPU
Intel i7-10750H CPU @2.60 GHz, 2592 MHz, 6 cores
Memory
32GB
PowerShell 7.3.4 is current. Go to MS Store, type PowerShell 7.3.4 in the Search blank at the top, and you'll get it after you click Install.

(I'm assuming we're talking about PowerShell, not Windows PowerShell.)

Clipboard01.jpg
 

My Computers My Computers

  • At a glance

    11 Pro 24H2 26100.2454i7-9700 @ 3.00GHz32GBDDR4 @ 2666MHzIntel HD 630 Graphics onboard
    OS
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i7-9700 @ 3.00GHz
    Motherboard
    Lenovo 3132
    Memory
    32GBDDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    1 x Samsung 970 EVO PLUS 500GB NVMe SSD, 1 x WD_BLACK SN770
    250GB NVMe SSD (OS and programs), 1 x WD_BLACK SN770
    500GB NVMe SSD (Data)
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome, sometimes Firefox
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • At a glance

    11 Pro 24H2 26100.2454i5-8400 @ 2.80GHz32GB DDR4 @ 2600MHzIntel HD 630 Graphics onboard
    Operating System
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80GHz
    Motherboard
    Lenovo 3132
    Memory
    32GB DDR4 @ 2600MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x Samsung 970 EVO PLUS NVMe; 1 x Samsung 980 NVMe SSD
    Case
    Lenovo Think Centre SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender, beautiful together
Windows 11 Professional, 64-bit.
I use, in addition to Windows -> Update Powershell to update my software.

I run Powershell from a command prompt, run as administrator.


PowerShell 7-x86 Microsoft.PowerShell 7.2.6.0 7.3.4.0 winget
PowerShell 7.3.2.0-x64 Microsoft.PowerShell 7.3.2.0 winget

How do I resolve this??


Thanks
One is 32bit x86; the other x64 is 64bit.
You do not need 32bit unless you have legacy scripts.
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Back
Top Bottom