Open PowerShell as an and use the Add-AppxProvisionedPackage cmdlet. You must specify the -Online flag to target the currently running operating system. powershell
: To see which specific users have the app registered, use the flag with standard cmdlets: powershell Get-AppxPackage -Name "*YourAppName*" Use code with caution. Copied to clipboard Remove for All Users install msix powershell all users
Start-Transcript -Path "C:\Logs\MsixInstall.log" Add-AppxProvisionedPackage -Online -FolderPath "E:\Deploy\app.msix" Stop-Transcript Open PowerShell as an and use the Add-AppxProvisionedPackage
param( [Parameter(Mandatory=$true)] [string]$MsixPath, install msix powershell all users
# Advanced snippet for offline dependency handling $Dependencies = @("C:\Dependencies\Microsoft.VCLibs.x64.14.00.appx") Add-AppxPackage -Path $MsixPath -DependencyPath $Dependencies -AllUsers