Power Shell
Overview
winget install --silent Microsoft.PowerShellUninstall
winget uninstall --silent Microsoft.PowerShell CPE
cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:* Version & Lifecycle
Community Notes
PowerShell 7 MSI deployment and update-control note
For managed Windows deployments of PowerShell 7, Microsoft documents MSI command-line properties that are safer than relying on installer defaults. A typical silent install is msiexec.exe /package PowerShell-7.x.x-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 ADD_PATH=1 ENABLE_MU=1 USE_MU=1 DISABLE_TELEMETRY=1.
The MSI properties are independent toggles: ADD_PATH=1 adds PowerShell to PATH, REGISTER_MANIFEST=1 registers Windows Event Logging manifests, ENABLE_PSREMOTING=1 enables remoting during install, and ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 adds Explorer context-menu integration. Use ENABLE_MU=1 with USE_MU=1 when devices should opt into Microsoft Update servicing; leave those unset if updates are controlled only by your software-management tool.
Official source: Microsoft PowerShell installation documentation for Windows lists the MSI command-line options and update controls at learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows.
Release Notes & Updates
Known Vulnerabilities
- CVE-2024-0057 9.8
- CVE-2018-8327 9.8
- CVE-2022-41076 8.5
Also known as
Other names people use for this app — helps search and matching.
Sign in to suggest a name.
Packaging Notes
Supports multiple installation methods including WinGet, MSI, ZIP, and .NET Global tool