<# .SYNOPSIS Installs an MSIX package for all users on a Windows machine. .DESCRIPTION Uses Add-AppxProvisionedPackage to machine-wide install an MSIX. .NOTES Must be run as Administrator. #> param( [Parameter(Mandatory=$true)] [string]$MsixPath,
Now go ahead—launch PowerShell as Admin, point to your MSIX file, and provision that app for everyone. install msix powershell all users
Get-AppxProvisionedPackage -Online | Select-Object DisplayName, PackageName, Version Then test on a new local user account. If you prefer command prompt or batch scripts, you can use the DISM tool directly: param( [Parameter(Mandatory=$true)] [string]$MsixPath