Wingetlywingetly
← All apps

PowerShell

by Microsoft Corporationv7.6.6.0

Last updated

PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

Install with winget

$ winget install --id Microsoft.PowerShell --exact --version 7.6.6.0

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for PowerShell

PowerShell uses MSI (WiX). The silent install switches are /quiet /norestart.

One-line silent install (x64, machine scope)
msiexec.exe /i PowerShell-7.6.6-win-x64.msi /quiet /norestart

See the full silent install reference for PowerShell

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

PowerShell is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models.

It includes a command-line shell, an associated scripting language and a framework for processing cmdlets.

Installers · v7.6.6.0

ArchitectureTypeScopeInstallDownload
x86MSIX-Direct
x86MSI
WiX
machineDirect
x64MSIX-Direct
x64MSI
WiX
machineDirect
arm64MSIX-Direct
arm64MSI
WiX
machineDirect

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

25 known CVEs via NVD

  • high7.8Patched in wingetCVE-2026-50523affects before 7.4.19.0, 7.5.10.0, 7.6.5Aug 14, 2026

    Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.

  • high7.8Patched in wingetCVE-2026-70338affects before 7.4.19.0, 7.5.10.0, 7.6.5Aug 11, 2026

    Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.

  • high8.8Patched in wingetCVE-2026-70337affects before 7.4.19.0, 7.5.10.0, 7.6.5Aug 11, 2026

    Relative path traversal in Microsoft PowerShell Core allows an unauthorized attacker to execute code over a network.

  • high7.3Patched in wingetCVE-2026-59119affects before 7.4.19.0, 7.5.10.0, 7.6.5Aug 11, 2026

    Incorrect default permissions in Microsoft PowerShell allows an authorized attacker to elevate privileges locally.

  • high7.4Patched in wingetCVE-2026-58612affects before 7.4.19.0, 7.5.10.0, 7.6.5Aug 11, 2026

    Server-side request forgery (ssrf) in Microsoft PowerShell Core allows an unauthorized attacker to disclose information over a network.

  • high7.8Patched in wingetCVE-2026-26143affects before 7.4.14, 7.5.5Apr 14, 2026

    Improper input validation in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.

  • high7.3Patched in wingetCVE-2025-25004affects before 7.4.13, 7.5.4Oct 14, 2025

    Improper access control in Microsoft PowerShell allows an authorized attacker to elevate privileges locally.

  • high7.0Patched in wingetCVE-2025-49734affects before 7.4.12, 7.5.3Sep 9, 2025

    Improper restriction of communication channel to intended endpoints in Windows PowerShell allows an authorized attacker to elevate privileges locally.

Showing 8 of 25. Source: NVD, updated 5h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.

Related apps

  • Windows App Runtime 1.8Microsoft Corporation
    Microsoft.WindowsAppRuntime.1.8v1.8.10

    Microsoft Windows App Runtime 1.8

  • Gaming Services Repair Tool for PCMicrosoft Corporation
    Microsoft.Gaming.GamingServicesRepairToolv10.0.26100.9546 (WinBuild.160101.0800)

    A portable standalone tool to repair and fix problems with the following apps:Xbox App; Xbox Identity Provider; Game Bar; and Gaming Services. It can (and will) also try to update or install those apps, though not silently.

  • Microsoft Visual C++ v14 Redistributable (x64)Microsoft Corporation
    Microsoft.VCRedist.2015+.x64v14.51.36247.0

    The Microsoft Visual C++ v14 Redistributable Package (x64).

  • Microsoft .NET Windows Desktop Runtime 10.0Microsoft Corporation
    Microsoft.DotNet.DesktopRuntime.10v10.0.12

    .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

  • Visual Studio BuildTools 2026Microsoft Corporation
    Microsoft.VisualStudio.BuildToolsv18.10.0

    These Build Tools allow you to build Visual Studio projects from a command-line interface.

  • Microsoft Visual C++ v14 Redistributable (x86)Microsoft Corporation
    Microsoft.VCRedist.2015+.x86v14.51.36247.0

    The Microsoft Visual C++ v14 Redistributable Package (x86)

More from Microsoft Corporation or browse command-line, cross-platform, open-source.

Frequently asked questions

How do I install PowerShell on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Microsoft.PowerShell --exact --version 7.6.6.0. winget downloads the installer from Microsoft Corporation and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install PowerShell silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Microsoft.PowerShell --exact 7.6.6.0 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for PowerShell?
PowerShell uses MSI (WiX). Run the downloaded installer with: msiexec.exe /i PowerShell-7.6.6-win-x64.msi /quiet /norestart. The silent switches are /quiet /norestart.
How do I uninstall PowerShell via winget?
Run: winget uninstall --id Microsoft.PowerShell --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from PowerShell's Apps & Features entry.
Is PowerShell free?
PowerShell is distributed under MIT. Refer to the publisher (https://microsoft.com/PowerShell) for the full license terms - Wingetly itself does not charge for installation.
Does PowerShell work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls PowerShell directly from the publisher.
How do I keep PowerShell up to date?
Run winget upgrade --id Microsoft.PowerShell --exact, or winget upgrade --all to update everything winget tracks. We index 10 versions of PowerShell from microsoft/winget-pkgs.

Recent versions

  • 7.6.6.0latest
  • 7.6.5.0
  • 7.6.4.0
  • 7.6.3.0
  • 7.6.2.0
  • 7.6.1.0
  • 7.6.0.0
  • 7.5.11.0
  • 7.5.10.0
  • 7.5.8.0