r/PowerShell • • Jan 14 '26

Export-ProvisioningPackage

Why doesn't this work?

Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -eq "MicrosoftTeams"} | Export-ProvisioningPackage -OutputFolder "c:\microsoftteams"

0 Upvotes

11 comments sorted by

View all comments

Show parent comment

2

u/dodexahedron Jan 14 '26

Yeah its almost verbatim from ms learn.

But it won't work right for teams or quite a few other store apps.

Better to use intune to deploy them via copilot. Happens in the background on first boot/login.

Appx has been a giant failure, not necessarily because of appx. But because of how microsoft has (mis)managed the entire ecosystem around it.