Remove-AppSharedPackageContainer
Removes the shared package container.
Syntax
Default (Default)
Remove-AppSharedPackageContainer
[-Name] <String>
[-ForceApplicationShutdown]
[-AllUsers]
[<CommonParameters>]
Description
The cmdlet removes the shared package container definition for the particular user.
Examples
Example 1
Remove-AppSharedPackageContainer -Name ContosoTestContainer
This command removes the shared package container definition with the name ContosoTestContainer.
Parameters
-AllUsers
Unsupported. Will result in -AllUsers functionality is not yet implemented error.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ForceApplicationShutdown
Closes all packages in the Shared Package Container.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
The name of the container.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.