For Intune, SCCM, PDQ, or RMM rollouts, PowerShell can be packaged and deployed quietly when you use the verified silent install command and a solid detection method. This guide is built for IT admins who need a dependable, repeatable approach for Microsoft Corporation packaging, including admin requirement awareness, machine-user install scope considerations, and practical deployment notes that help streamline testing, rollout, and ongoing maintenance across managed Windows endpoints.
Quick snapshot: Silently install PowerShell on Windows
Run in an elevated PowerShell session:
Add-AppxProvisionedPackage -Online -PackagePath "Microsoft.PowerShell_7.6.3.0_x64__8wekyb3d8bbwe.msix" -SkipLicenseOverview
| Application | PowerShell |
|---|---|
| Version | 2026.519.414.0 |
| Publisher | Microsoft Corporation |
| Installer type | MSIX / Store app |
| Install scope | Machine + User |
| Requires admin | Yes |
| Silent install | Available |
| Silent uninstall | Available |
| Detection method | MSIX package family |
| Installer file | Microsoft.PowerShell_7.6.3.0_x64__8wekyb3d8bbwe.msix |
| Download | PowerShell installer |
Silent install steps
PowerShell installs through a PowerShell command, so run it in an elevated PowerShell session. Command Prompt cannot run this cmdlet.
Install with PowerShell
- Download or stage the installer (
Microsoft.PowerShell_7.6.3.0_x64__8wekyb3d8bbwe.msix) to a local folder, for exampleC:\Installers.
- Open PowerShell as Administrator — right-click Start (or press Win+X), then:
- On Windows 10: choose Windows PowerShell (Admin).
- On Windows 11: choose Terminal (Admin) — it opens Windows Terminal running PowerShell.
- Run the silent install command:
Add-AppxProvisionedPackage -Online -PackagePath "Microsoft.PowerShell_7.6.3.0_x64__8wekyb3d8bbwe.msix" -SkipLicensePS C:\> Set-Location 'C:\Installers'PS C:\Installers> Add-AppxProvisionedPackage -Online -PackagePath "Microsoft.PowerShell_7.6.3.0_x64__8wekyb3d8bbwe.msix" -SkipLicenseInstalling PowerShell 2026.519.414.0…Installation complete — exit code 0.PS C:\Installers> ▋
Deployment Notes
Key facts to confirm before rolling this out to production machines — permissions required, scope of install, and reboot behavior.
| Requirement | Administrator privileges required |
|---|---|
| Install scope | Machine + User |
| Restart behavior | No restart expected |
Detection Rules
Configure your deployment tool with the detection rule below to confirm a successful install of PowerShell. The same rule work for Microsoft Intune, SCCM, PDQ Deploy, and most RMM platforms — just paste the values into the matching fields.
MSIX detection
Silent Uninstall Steps
Remove PowerShell silently from one machine or your entire fleet. The commands below uninstall without prompts and suppress automatic reboots so you control the timing.
Uninstall with PowerShell
PowerShell is removed through a PowerShell command (Command Prompt cannot run it).
- Open PowerShell as Administrator.
- Run the silent uninstall command.
Get-AppxProvisionedPackage -Online | Where-Object { $_.PackageName -like 'Microsoft.PowerShell_*' } | Remove-AppxProvisionedPackage -OnlineDeployment Examples
Drop the snippet below into your deployment tool, Group Policy, or scheduled task. It wraps the silent install command for PowerShell as a PowerShell script — copy, save, and run.
PowerShell script example
Save the following content as install-powershell.ps1 in the same folder as the installer.
Set-Location -Path $PSScriptRoot
$Installer = 'Microsoft.PowerShell_7.6.3.0_x64__8wekyb3d8bbwe.msix'
Add-AppxProvisionedPackage -Online -PackagePath $Installer -SkipLicense
exit $LASTEXITCODEFrequently asked questions
Can I silently install PowerShell on Windows?
Do I need administrator privileges to install PowerShell?
Will installing PowerShell restart the computer?
Add-AppxProvisionedPackage does not cause a reboot. The package is then registered for all users at the next sign-in.How do I verify PowerShell installed successfully?
How do I silently uninstall PowerShell?
Remove-AppxProvisionedPackage together with the package full name.Which deployment tools support these commands?
Troubleshooting
If the install fails, exits with a non-zero code, or leaves no trace on the target machine, work through the checks below. Most issues come down to permissions, paths, or exit code handling.
| Run as administrator | Make sure Command Prompt or PowerShell is opened as Administrator. This installer writes to a machine-wide location and will fail silently without elevated permissions. |
|---|---|
| Verify the installer file name | Confirm that the installer file name matches the command shown in this guide: Microsoft.PowerShell_7.6.3.0_x64__8wekyb3d8bbwe.msix. |
| Run from the correct folder | Run the command from the folder that contains the installer file. For batch or PowerShell deployments, place the script and installer in the same folder. |
| Check exit codes | If the installer returns a non-zero exit code, review the installer log or your deployment tool's logs. Some packages use additional success exit codes. |
| Restart if required | If the application does not appear immediately after installation, sign out and sign back in, or restart the device — this refreshes Start menu shortcuts, file associations, and Path entries written by the installer. |
| Validate detection rules | If your deployment tool reports the app as not installed, verify that the detection rule matches the installed version, MSI product code, registry key, or file path. Use the Detection Rules section above to confirm whether the application was installed successfully. |