Edit

Share via


Repair-UevTemplateIndex

Repairs a corrupted UE-V template index.

Syntax

Default (Default)

Repair-UevTemplateIndex
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Repair-UevTemplateIndex cmdlet repairs the index for the Microsoft User Experience Virtualization (UE-V) settings location templates. A corrupted template prevents you from enumerating the UE-V templates, and can prevent UE-V from synchronizing settings for any application on the computer. You must have administrator privileges to run this cmdlet.

Examples

Example 1: Repair the template index

PS C:\> Repair-UevTemplateIndex

This command repairs the corrupted template index.

Parameters

-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

-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.