mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 20:42:39 +00:00
26 lines
781 B
Plaintext
26 lines
781 B
Plaintext
---
|
||
syntax: markdown
|
||
tags: [tldr, windows]
|
||
source: https://github.com/tldr-pages/tldr.git
|
||
---
|
||
# 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/powershell/module/appx/Add-AppxPackage>.
|
||
|
||
- Add an app package:
|
||
|
||
`Add-AppxPackage -Path {{path o\package.msix}}`
|
||
|
||
- Add an app package with dependencies:
|
||
|
||
`Add-AppxPackage -Path {{path o\package.msix}} -DependencyPath {{path o\dependencies.msix}}`
|
||
|
||
- Install an app using the app installer file:
|
||
|
||
`Add-AppxPackage -AppInstallerFile {{path opp.appinstaller}}`
|
||
|
||
- Add an unsigned package:
|
||
|
||
`Add-AppxPackage -Path {{path o\package.msix}} -DependencyPath {{path o\dependencies.msix}} -AllowUnsigned`
|