Skip to content

Commit 5be67f5

Browse files
author
Angela Fleischmann
authored
Merge pull request MicrosoftDocs#2841 from RDMacLachlan/rpm_add-appxpackage_NewExample
Update Add-AppxPackage.md
2 parents e8e68f0 + bf5a3b2 commit 5be67f5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docset/winserver2022-ps/appx/Add-AppxPackage.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Adds a signed app package to a user account.
33
external help file: Microsoft.Windows.Appx.PackageManager.Commands.dll-help.xml
44
Module Name: Appx
5-
ms.date: 09/01/2021
5+
ms.date: 01/31/2022
66
online version: https://docs.microsoft.com/powershell/module/appx/add-appxpackage?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Add-AppxPackage
@@ -119,6 +119,13 @@ Add-AppxPackage -Path "C:\Users\user1\Desktop\MyApp.msixbundle" -RequiredContent
119119

120120
This command adds an app package but only installs the required section of a streaming app. Calling this command again without the RequiredContentGroupOnly flag proceeds to install the rest of the application in the order defined by the AppxContentGroupMap.xml
121121

122+
### Example 6: Install an app using the App Installer file
123+
```powershell
124+
Add-AppxPackage -AppInstallerFile "C:\Users\user1\Desktop\MyApp.appinstaller"
125+
```
126+
127+
This command adds an app package as outlined in the App Installer file with all update settings specified within the App Installer file, if any.
128+
122129
## PARAMETERS
123130

124131
### -AllowUnsigned

0 commit comments

Comments
 (0)