1
1
---
2
2
external help file : Microsoft.Windows.Appx.PackageManager.Commands.dll-Help.xml
3
- Module Name : appx
3
+ Module Name : Appx
4
+ ms.date : 05/15/2023
4
5
online version : https://learn.microsoft.com/powershell/module/appx/add-appsharedpackagecontainer?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
5
6
schema : 2.0.0
7
+ title : Add-AppSharedPackageContainer
6
8
---
7
9
8
10
# Add-AppSharedPackageContainer
9
11
10
12
## SYNOPSIS
11
- Deploys the shared package container definiton .
13
+ Deploys the shared package container definition .
12
14
13
15
## SYNTAX
14
16
15
17
```
16
- Add-AppSharedPackageContainer [-Path] <String> [-ForceApplicationShutdown] [-Merge] [-Force]
17
- [<CommonParameters>]
18
+ Add-AppSharedPackageContainer [-Path] <String> [-ForceApplicationShutdown] [-Merge]
19
+ [-Force] [ <CommonParameters>]
18
20
```
19
21
20
22
## 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.
22
26
23
27
## EXAMPLES
24
28
25
29
### Example 1
30
+
26
31
``` powershell
27
- PS C:\> Add-AppSharedPackageContainer -Path C:\MyFolder\ContosoTestContainer.xml
32
+ Add-AppSharedPackageContainer -Path C:\MyFolder\ContosoTestContainer.xml
28
33
```
29
34
30
35
This command deploys the definition described in the ContosoTestContainer file.
31
36
32
37
## PARAMETERS
33
38
34
39
### -Force
35
- Replaces an existing container of the same name with the newly created
36
- container's definition for the target user(s).
37
40
41
+ Replaces an existing container of the same name with the newly created container's definition for
42
+ the target users.
38
43
39
44
``` yaml
40
- Type : SwitchParameter
45
+ Type : System.Management.Automation. SwitchParameter
41
46
Parameter Sets : (All)
42
47
Aliases :
43
48
@@ -49,10 +54,11 @@ Accept wildcard characters: False
49
54
` ` `
50
55
51
56
### -ForceApplicationShutdown
57
+
52
58
Closes all packages currently running in the Shared Package Container.
53
59
54
60
` ` ` yaml
55
- Type : SwitchParameter
61
+ Type : System.Management.Automation. SwitchParameter
56
62
Parameter Sets : (All)
57
63
Aliases :
58
64
@@ -64,12 +70,12 @@ Accept wildcard characters: False
64
70
` ` `
65
71
66
72
### -Merge
67
- Merges a new container's definition into an existing container
68
- definition of the same name for target user(s).
69
73
74
+ Merges a new container's definition into an existing container definition of the same name for
75
+ target users.
70
76
71
77
` ` ` yaml
72
- Type : SwitchParameter
78
+ Type : System.Management.Automation. SwitchParameter
73
79
Parameter Sets : (All)
74
80
Aliases :
75
81
@@ -81,10 +87,11 @@ Accept wildcard characters: False
81
87
` ` `
82
88
83
89
### -Path
90
+
84
91
Path to the XML definition file.
85
92
86
93
` ` ` yaml
87
- Type : String
94
+ Type : System. String
88
95
Parameter Sets : (All)
89
96
Aliases : PSPath
90
97
@@ -96,7 +103,11 @@ Accept wildcard characters: False
96
103
` ` `
97
104
98
105
### 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).
100
111
101
112
## INPUTS
102
113
@@ -105,6 +116,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
105
116
## OUTPUTS
106
117
107
118
### System.Object
119
+
108
120
## NOTES
109
121
110
122
## RELATED LINKS
0 commit comments