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.
$ winget install --id Microsoft.PowerShell.Preview --exact --version 7.7.2.0Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
PowerShell Preview uses MSIX. The silent install switches are (no switches needed).
Add-AppxPackage -Path .\installer.msix
See the full silent install reference for PowerShell Preview →
For Intune admins
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.
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.
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
23 known CVEs via NVD
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.
Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
.NET Remote Code Execution Vulnerability
.NET and Visual Studio Remote Code Execution Vulnerability
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
Microsoft QUIC Denial of Service Vulnerability
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.
Microsoft.VisualStudioCodev1.124.2Microsoft Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Microsoft Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
Microsoft.Gaming.GamingServicesRepairToolv10.0.26100.6893A 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.