編集

次の方法で共有


Clear-UevAppxPackage

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

Syntax

ParameterSetUser (Default)

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

ParameterSetComputer

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

ParameterSetAllComputerTemplates

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

ParameterSetAllUserTemplates

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.

Parameter properties

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

Parameter sets

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

-Computer

Indicates that the cmdlet clears the setting for 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
ParameterSetAllComputerTemplates
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 clears the setting for the package families that you specify for the current user 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
ParameterSetAllUserTemplates
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 clears the setting for the package families of Windows 8 apps that you specify.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ParameterSetUser
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ParameterSetComputer
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.