PowerShell
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.0Run 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.
msiexec.exe /i PowerShell-7.6.6-win-x64.msi /quiet /norestart
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 trialNo 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
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x86 | MSIX | - | Direct | |
| x86 | MSI WiX | machine | Direct | |
| x64 | MSIX | - | Direct | |
| x64 | MSI WiX | machine | Direct | |
| arm64 | MSIX | - | Direct | |
| arm64 | MSI WiX | machine | Direct |
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
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.
Relative path traversal in Microsoft PowerShell Core allows an unauthorized attacker to execute code over a network.
Incorrect default permissions in Microsoft PowerShell allows an authorized attacker to elevate privileges locally.
Server-side request forgery (ssrf) in Microsoft PowerShell Core allows an unauthorized attacker to disclose information over a network.
Improper input validation in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.
Improper access control in Microsoft PowerShell allows an authorized attacker to elevate privileges locally.
Improper restriction of communication channel to intended endpoints in Windows PowerShell allows an authorized attacker to elevate privileges locally.
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
- 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.
More from Microsoft Corporation or browse command-line, cross-platform, open-source.
Frequently asked questions
How do I install PowerShell on Windows?
How do I install PowerShell silently for unattended deployment?
What are the silent install switches for PowerShell?
How do I uninstall PowerShell via winget?
Is PowerShell free?
Does PowerShell work on Windows 10?
How do I keep PowerShell up to date?
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