編集

次の方法で共有


Add-AppSharedPackageContainer

Deploys the shared package container definition.

Syntax

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

Description

The Add-AppSharedPackageContainer cmdlet deploys the shared package container definition for the particular user.

Examples

Example 1

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 users.

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

-ForceApplicationShutdown

Closes all packages currently running in the Shared Package Container.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
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 users.

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

-Path

Path to the XML definition file.

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

Inputs

None

Outputs

Object