11---
22external help file : Microsoft.Windows.Appx.PackageManager.Commands.dll-Help.xml
3- Module Name : appx
3+ Module Name : Appx
4+ ms.date : 05/15/2023
45online version : https://learn.microsoft.com/powershell/module/appx/add-appsharedpackagecontainer?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
56schema : 2.0.0
7+ title : Add-AppSharedPackageContainer
68---
79
810# Add-AppSharedPackageContainer
911
1012## SYNOPSIS
11- Deploys the shared package container definiton .
13+ Deploys the shared package container definition .
1214
1315## SYNTAX
1416
1517```
16- Add-AppSharedPackageContainer [-Path] <String> [-ForceApplicationShutdown] [-Merge] [-Force]
17- [<CommonParameters>]
18+ Add-AppSharedPackageContainer [-Path] <String> [-ForceApplicationShutdown] [-Merge]
19+ [-Force] [ <CommonParameters>]
1820```
1921
2022## DESCRIPTION
21- The Add-AppSharedPackageContainer cmdlet deploys the shared package container definiton for the particular user.
23+
24+ The ` Add-AppSharedPackageContainer ` cmdlet deploys the shared package container definition for the
25+ particular user.
2226
2327## EXAMPLES
2428
2529### Example 1
30+
2631``` powershell
27- PS C:\> Add-AppSharedPackageContainer -Path C:\MyFolder\ContosoTestContainer.xml
32+ Add-AppSharedPackageContainer -Path C:\MyFolder\ContosoTestContainer.xml
2833```
2934
3035This command deploys the definition described in the ContosoTestContainer file.
3136
3237## PARAMETERS
3338
3439### -Force
35- Replaces an existing container of the same name with the newly created
36- container's definition for the target user(s).
3740
41+ Replaces an existing container of the same name with the newly created container's definition for
42+ the target users.
3843
3944``` yaml
40- Type : SwitchParameter
45+ Type : System.Management.Automation. SwitchParameter
4146Parameter Sets : (All)
4247Aliases :
4348
@@ -49,10 +54,11 @@ Accept wildcard characters: False
4954` ` `
5055
5156### -ForceApplicationShutdown
57+
5258Closes all packages currently running in the Shared Package Container.
5359
5460` ` ` yaml
55- Type : SwitchParameter
61+ Type : System.Management.Automation. SwitchParameter
5662Parameter Sets : (All)
5763Aliases :
5864
@@ -64,12 +70,12 @@ Accept wildcard characters: False
6470` ` `
6571
6672### -Merge
67- Merges a new container's definition into an existing container
68- definition of the same name for target user(s).
6973
74+ Merges a new container's definition into an existing container definition of the same name for
75+ target users.
7076
7177` ` ` yaml
72- Type : SwitchParameter
78+ Type : System.Management.Automation. SwitchParameter
7379Parameter Sets : (All)
7480Aliases :
7581
@@ -81,10 +87,11 @@ Accept wildcard characters: False
8187` ` `
8288
8389### -Path
90+
8491Path to the XML definition file.
8592
8693` ` ` yaml
87- Type : String
94+ Type : System. String
8895Parameter Sets : (All)
8996Aliases : PSPath
9097
@@ -96,7 +103,11 @@ Accept wildcard characters: False
96103` ` `
97104
98105### CommonParameters
99- This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
106+
107+ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
108+ -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
109+ -WarningAction, and -WarningVariable. For more information, see
110+ [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
100111
101112## INPUTS
102113
@@ -105,6 +116,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
105116## OUTPUTS
106117
107118### System.Object
119+
108120## NOTES
109121
110122## RELATED LINKS
0 commit comments