編輯

共用方式為


Enable-UevAppxPackage

Enables UE-V synchronization of Windows 8 apps.

Syntax

Enable-UevAppxPackage
      [-CurrentComputerUser]
      [-PackageFamilyName] <String[]>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Enable-UevAppxPackage
      [-Computer]
      [-PackageFamilyName] <String[]>
      [-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.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-CurrentComputerUser

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

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

-PackageFamilyName

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

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

-WhatIf

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

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