Skip to content

Commit bec02e4

Browse files
committed
Adding new Powershell commands for MSIX shared package container
1 parent f0ca939 commit bec02e4

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

msix-src/manage/shared-package-container.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ When you have the container definition .xml, you can use the following PowerShel
3232
### PowerShell commands
3333

3434
#### Deploy a shared Package container definition
35+
3536
```powershell
3637
Add-AppSharedPackageContainer <path>
3738
```
@@ -41,7 +42,8 @@ This command deploys the shared package container definiton for the particular u
4142
|---------|---------|
4243
|ForceApplicationShutdown |Closes all packages currently running in the Shared Package Container. |
4344

44-
#### Remove a shared package container
45+
#### Remove a shared package container
46+
4547
```powershell
4648
Remove-AppSharedPackageContainer -Name <name>
4749
```
@@ -51,14 +53,42 @@ This command removes the shared package container definiton for the particular u
5153
|---------|---------|
5254
|ForceApplicationShutdown |Closes all packages in the Shared Package Container. |
5355

54-
#### Get information on a shared package container
56+
#### Get information on a shared package container
57+
5558
```powershell
5659
Get-AppSharedPackageContainer -Name <name>
5760
```
5861
This command gets information about the shared package container. In particular, it will show what packages are inside the shared package container.
5962

60-
#### Reset shared package container
63+
#### Reset shared package container
64+
6165
```powershell
6266
Reset-AppSharedPackageContainer -Name <name>
6367
```
6468
This command destroys all the application data of the container, including the virtual files and registry keys.
69+
70+
#### Deploy a provisioned package container
71+
72+
This command deploys a provisioned shared package container.
73+
74+
```powershell
75+
Add-AppProvisionedSharedPackageContainer -DefinitionFile "<filepath>" -Online
76+
```
77+
78+
#### Verify that a provisioned package container is deployed
79+
80+
This command verifies that a provisioned shared package container is deployed
81+
82+
```powershell
83+
Get-AppProvisionedSharedPackageContainer -Online
84+
```
85+
86+
#### Remove a provisioned package container
87+
88+
This command removes a provisioned shared package container
89+
90+
```powershell
91+
Remove-AppProvisionedSharedPackageContainer -Name "<name>" -Online
92+
```
93+
94+

0 commit comments

Comments
 (0)