Skip to content

AppSharedPackageContainer Documentation #2915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Mar 18, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
755b293
SharedPackage Doc
huzaifa-msft Mar 17, 2022
0808d2b
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
d75bb5f
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
109f586
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
b11684f
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
403dd75
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
b8b9809
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
9d33b17
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
98aa2d6
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
743d970
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
9e81d6d
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
6c3e789
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
e15c6f0
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
29e8b45
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
ff226d8
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
1a54273
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
932f277
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
2253978
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
dad61c7
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
1432545
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d Mar 18, 2022
db80bb7
Apply suggestions from code review
huzaifa-d Mar 18, 2022
10b18f5
Removed Get/Set-NonRemovableAppsPolicy
huzaifa-msft Mar 18, 2022
7a0f59f
Revert "Removed Get/Set-NonRemovableAppsPolicy"
huzaifa-msft Mar 18, 2022
c9d3b1e
Removed Get/Set-NonRemovableAppsPolicy from Appx
huzaifa-msft Mar 18, 2022
c752a3d
Add markdown for Remove-AppxPackageAutoUpdateSettings
sdwheeler Mar 18, 2022
35d2c24
Update module landing page
sdwheeler Mar 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
external help file: Microsoft.Windows.Appx.PackageManager.Commands.dll-Help.xml
Module Name: appx
online version: https://docs.microsoft.com/powershell/module/appx/get-appxlog?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
---

# Add-AppSharedPackageContainer

## SYNOPSIS
Deploys the shared package container definiton.

## SYNTAX

```
Add-AppSharedPackageContainer [-Path] <String> [-ForceApplicationShutdown] [-Merge] [-Force]
[<CommonParameters>]
```

## DESCRIPTION
The Add-AppSharedPackageContainer cmdlet deploys the shared package container definiton for the particular user.

## EXAMPLES

### Example 1
```powershell
PS C:\> Add-AppSharedPackageContainer -Path C:\MyFolder\ContosoTestContainer.xml
```

This command deploys the definition described in the ContosoTestContainer file

## PARAMETERS

### -Force
Replaces an existing container of the same name with the newly created
container's definition for the target user(s)


```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ForceApplicationShutdown
Closes all packages currently running in the Shared Package Container

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Merge
Merges a new container's definition into an existing container
definition of the same name for target user(s)


```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Path
Path to the XML definition file

```yaml
Type: String
Parameter Sets: (All)
Aliases: PSPath

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
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).

## INPUTS

### None

## OUTPUTS

### System.Object
## NOTES

## RELATED LINKS
101 changes: 101 additions & 0 deletions docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
external help file: Microsoft.Windows.Appx.PackageManager.Commands.dll-Help.xml
Module Name: appx
online version: https://docs.microsoft.com/powershell/module/appx/dismount-appxvolume?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
---

# Get-AppSharedPackageContainer

## SYNOPSIS
Gets information about the shared package container.

## SYNTAX

```
Get-AppSharedPackageContainer [[-Name] <String>] [[-Id] <String>] [-AllUsers] [<CommonParameters>]
```

## DESCRIPTION
The Get-AppSharedPackageContainer cmdlet shows information about any shared package container.
In particular, it will show what packages are inside the shared package container.

## EXAMPLES

### Example 1
```powershell
PS C:\> Get-AppSharedPackageContainer -Name Contoso*


Name : ContosoTestContainer
Id : ContosoTestContainer_1
PackageFamilyNames : {Contoso.SpellCheckPlugin.1.0.0.0_7pneu3d8sswe, Notepad++.2.0.0.1_ohjis898f1}

Name : ContosoTestContainer
Id : ContosoTestContainer_2
PackageFamilyNames : {Contoso.SpellCheckPlugin2.1.0.0.0_7pneu3d8sswe, Notepad++.2.0.0.1_ohjis898f1}

```

This command shows the packages in any shared package container which has a prefix of Contoso

## PARAMETERS

### -AllUsers
Get matching packages that are either deployed to any user or are provisioned to the machine

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Id
Id of the container. Can be acquired by running Get-AppSharedPackageContainer

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -Name
Name of the container

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### CommonParameters
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).

## INPUTS

### System.String

## OUTPUTS

### System.Object
## NOTES

## RELATED LINKS
90 changes: 90 additions & 0 deletions docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
external help file: Microsoft.Windows.Appx.PackageManager.Commands.dll-Help.xml
Module Name: appx
online version: https://docs.microsoft.com/powershell/module/appx/move-appxpackage?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
---

# Remove-AppSharedPackageContainer

## SYNOPSIS
Removes the shared package container.

## SYNTAX

```
Remove-AppSharedPackageContainer [-Name] <String> [-ForceApplicationShutdown] [-AllUsers] [<CommonParameters>]
```

## DESCRIPTION
The Remove-AppSharedPackageContainer cmdlet removes the shared package container definiton for the particular user.

## EXAMPLES

### Example 1
```powershell
PS C:\> Remove-AppSharedPackageContainer -Name ContosoTestContainer
```

This command removes the shared package container definiton with the name ContosoTestContainer

## PARAMETERS

### -AllUsers
Remove matching packages that are deployed to any user

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ForceApplicationShutdown
Closes all packages in the Shared Package Container

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Name
Name of the container

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### CommonParameters
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).

## INPUTS

### System.String

## OUTPUTS

### System.Object
## NOTES

## RELATED LINKS
Loading