Deploy Appx Package to All Users
I'm trying to get PowerShell working properly with PDQ to deploy Appx packages to all users. I was able to get it to work for the currently logged on user only using this package
Step 1: Copy .appx packages to C:\Appx on target
Step 2: (Powershell) Add-AppxPackage -Path "C:\Appx\application.Appx"
I had to make Step 2 run as logged on user. This works fine for the logged on user but I want this installed for everyone that uses the computer. I tried using Add-AppxProvisionedPackage -FolderPath "C:\Appx" but I'm getting a generic PS error:
ScriptHalted
At C:\windows\AdminArsenal\PDQDeployRunner\service-1\exec\Error Handling Wrapper.ps1:58 char:2
Please sign in to leave a comment.
Comments
0 comments