編輯

共用方式為


Disable-UevAppxPackage

Disables UE-V synchronization of Windows 8 apps.

Syntax

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

Description

The Disable-UevAppxPackage cmdlet disables 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 disables the package family names of Windows 8 apps that you specify. If you do not specify the Computer or CurrentComputerUser parameters, the cmdlet disables the package family names of Windows 8 apps for the current user.

Examples

Example 1: Disable synchronization of a Windows 8 app

PS C:\>Disable-UevAppxPackage -Computer -PackageFamilyName "Microsoft.BingFinance"

This command disables synchronization of the Bing Finance app for all users on the computer.

Parameters

-Computer

Indicates that the cmdlet disables the Windows 8 apps 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 disables the Windows 8 apps that you specify for the current user only.

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

-PackageFamilyName

Specifies an array of package families. The cmdlet disables 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