編集

次の方法で共有


Clear-UevAppxPackage

Clears a setting in the computer or user sections of the registry.

Syntax

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

Description

The Clear-UevAppxPackage cmdlet clears a setting in the computer or user sections of the registry that enables or disables the Microsoft User Experience Virtualization (UE-V) synchronization of Windows® 8 apps. If you do not specify the Computer or CurrentComputerUser parameter, the cmdlet clears the setting for the package families for the current user.

Examples

Example 1: Remove Windows 8 apps

PS C:\>Clear-UevAppxPackage -Computer -All

This command removes all Windows 8 apps from the Windows 8 app list on the computer.

Parameters

-All

Indicates that the cmdlet clears all of the computer or user settings for the package families that you specify.

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

-Computer

Indicates that the cmdlet clears the setting for 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 clears the setting for the package families that you specify for the current user 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 clears the setting for 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