powershell, pwsh, windows/*: fix PowerShell conventions (#11465)

This commit is contained in:
Reinhart Previano Koentjoro
2023-11-12 16:46:05 +07:00
committed by GitHub
parent 1027451fe5
commit 159626c127
37 changed files with 166 additions and 119 deletions

View File

@@ -1,20 +1,20 @@
# add-appxpackage
# 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>.
> More information: <https://learn.microsoft.com/powershell/module/appx/Add-AppxPackage>.
- Add an app package:
`add-appxpackage -Path {{path\to\package.msix}}`
`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}}`
`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-AppxPackage -AppInstallerFile {{path\to\app.appinstaller}}`
- Add an unsigned package:
`add-appxpackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}} -AllowUnsigned`
`Add-AppxPackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}} -AllowUnsigned`