1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

add-appxpackage: add page (#11120)

* add-appxpackage: add page

* Update pages/windows/add-appxpackage.md

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
Anurag Kumar 2023-10-21 14:53:56 +05:30 committed by GitHub
parent fe36fb68e7
commit 3688f5f4c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# add-appxpackage
> A PowerShell utility to add a signed app package (`.appx`, `.msix`, `.appxbundle` and `.msixbundle`) to a user account.
> More information: <https://learn.microsoft.com/en-us/powershell/module/appx/add-appxpackage>.
- Add an app package:
`add-appxpackage -Path {{path\to\package.msix}}`
- Add an app package with dependencies:
`add-appxpackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}}`
- Install an app using the app installer file:
`add-appxpackage -AppInstallerFile {{path\to\app.appinstaller}}`
- Add an unsigned package:
`add-appxpackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}} -AllowUnsigned`