Modifier

Partager via


Get-AppSharedPackageContainer

Gets information about the shared package container.

Syntax

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.

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

-Id

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

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

The name of the container.

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

Inputs

String

Outputs

Object