Install Msix Powershell All Users ~upd~ -

The Add-AppxPackage cmdlet has a -AllUsers parameter. However, this is less effective for future users. It installs the package for all currently existing users but may not automatically provision it for users created later. Therefore, Add-AppxProvisionedPackage is generally superior.

# Remove provisioning so new users don't get it Get-AppxProvisionedPackage -Online | Where-Object $_.DisplayName -eq "YourAppName" | Remove-AppxProvisionedPackage -Online Get-AppxPackage -AllUsers -Name " YourAppName " | Remove-AppxPackage -AllUsers install msix powershell all users

Automated Deployment of MSIX Packages for All Users Using PowerShell The Add-AppxPackage cmdlet has a -AllUsers parameter

Below is a production-ready PowerShell script that installs an MSIX package for all users, including certificate trust setup. including certificate trust setup.