Write-Host "Installation successful." catch Write-Host "An error occurred: $($Error[0].Message)"
Traditionally, administrators used Add-AppxProvisionedPackage . This stages the app in the system image so that it is installed for every new user profile created.