-
Notifications
You must be signed in to change notification settings - Fork 618
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
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
755b293
SharedPackage Doc
huzaifa-msft 0808d2b
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d d75bb5f
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d 109f586
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d b11684f
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d 403dd75
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d b8b9809
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d 9d33b17
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d 98aa2d6
Update docset/winserver2022-ps/appx/Reset-AppSharedPackageContainer.md
huzaifa-d 743d970
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d 9e81d6d
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d 6c3e789
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d e15c6f0
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d 29e8b45
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d ff226d8
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d 1a54273
Update docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
huzaifa-d 932f277
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d 2253978
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d dad61c7
Update docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
huzaifa-d 1432545
Update docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
huzaifa-d db80bb7
Apply suggestions from code review
huzaifa-d 10b18f5
Removed Get/Set-NonRemovableAppsPolicy
huzaifa-msft 7a0f59f
Revert "Removed Get/Set-NonRemovableAppsPolicy"
huzaifa-msft c9d3b1e
Removed Get/Set-NonRemovableAppsPolicy from Appx
huzaifa-msft c752a3d
Add markdown for Remove-AppxPackageAutoUpdateSettings
sdwheeler 35d2c24
Update module landing page
sdwheeler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
110 changes: 110 additions & 0 deletions
110
docset/winserver2022-ps/appx/Add-AppSharedPackageContainer.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## PARAMETERS | ||
|
||
### -Force | ||
Replaces an existing container of the same name with the newly created | ||
container's definition for the target user(s) | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
```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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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) | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
```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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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
101
docset/winserver2022-ps/appx/Get-AppSharedPackageContainer.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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. | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## 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} | ||
|
||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
|
||
This command shows the packages in any shared package container which has a prefix of Contoso | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## PARAMETERS | ||
|
||
### -AllUsers | ||
Get matching packages that are either deployed to any user or are provisioned to the machine | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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
90
docset/winserver2022-ps/appx/Remove-AppSharedPackageContainer.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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. | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
```powershell | ||
PS C:\> Remove-AppSharedPackageContainer -Name ContosoTestContainer | ||
``` | ||
|
||
This command removes the shared package container definiton with the name ContosoTestContainer | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## PARAMETERS | ||
|
||
### -AllUsers | ||
Remove matching packages that are deployed to any user | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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 | ||
huzaifa-d marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.