編集

次の方法で共有


Enable-UevAppxPackage

Enables UE-V synchronization of Windows 8 apps.

Syntax

ParameterSetUser (Default)

Enable-UevAppxPackage
    [-PackageFamilyName] <String[]>
    [-CurrentComputerUser]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ParameterSetComputer

Enable-UevAppxPackage
    [-PackageFamilyName] <String[]>
    [-Computer]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Enable-UevAppxPackage cmdlet enables Microsoft User Experience Virtualization (UE-V) synchronization of Windows® 8 apps. The cmdlet adds a setting to the computer or user sections of the registry that enables the package family names of Windows 8 apps that you specify. If you do not specify the Computer or CurrentComputerUser parameters, the cmdlet enables the package family names for the current user.

Examples

Example 1: Enable synchronization of a Windows 8 app

PS C:\>Enable-UevAppxPackage -PackageFamilyName "Microsoft.BingTravel"

This command enables synchronization of settings for the Bing Travel Windows 8 app for the current user.

Parameters

-Computer

Indicates that the cmdlet enables the package families that you specify for all users on the computer.

Parameter properties

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

Parameter sets

ParameterSetComputer
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CurrentComputerUser

Indicates that the cmdlet enables the package families that you specify for all users on the computer.

Parameter properties

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

Parameter sets

ParameterSetUser
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PackageFamilyName

Specifies an array of names of package families. The cmdlet enables the package families of Windows 8 apps that you specify.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

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