Edit

Share via


Get-AppSharedPackageContainer

Gets information about the shared package container.

Syntax

Default (Default)

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

Description

The cmdlet shows information about any shared package container. In particular, it shows what packages are inside the shared package container.

Examples

Example 1

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 that has a prefix of Contoso.

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

-Id

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
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:False
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.

Inputs

String

Outputs

Object