編輯

共用方式為


Clear-UevConfiguration

Clears UE-V configuration settings.

Syntax

Clear-UevConfiguration
     [-CurrentComputerUser]
     [-MaxPackageSizeInBytes]
     [-SettingsStoragePath]
     [-SyncProviderPingEnabled]
     [-SyncTimeoutInMilliseconds]
     [-SyncMethod]
     [-SyncEnabled]
     [-SyncOverMeteredNetwork]
     [-SyncOverMeteredNetworkWhenRoaming]
     [-SettingsImportNotifyEnabled]
     [-SettingsImportNotifyDelayInSeconds]
     [-DontSyncWindows8AppSettings]
     [-WaitForSyncTimeoutInMilliseconds]
     [-WaitForSyncOnApplicationStart]
     [-WaitForSyncOnLogon]
     [-SyncUnlistedWindows8Apps]
     [-VdiCollectionName]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Clear-UevConfiguration
     [-Computer]
     [-MaxPackageSizeInBytes]
     [-SettingsStoragePath]
     [-SettingsTemplateCatalogPath]
     [-SyncProviderPingEnabled]
     [-SyncTimeoutInMilliseconds]
     [-SyncMethod]
     [-SyncEnabled]
     [-SyncOverMeteredNetwork]
     [-SyncOverMeteredNetworkWhenRoaming]
     [-SettingsImportNotifyEnabled]
     [-SettingsImportNotifyDelayInSeconds]
     [-ContactITUrl]
     [-ContactITDescription]
     [-TrayIconEnabled]
     [-FirstUseNotificationEnabled]
     [-DontSyncWindows8AppSettings]
     [-WaitForSyncTimeoutInMilliseconds]
     [-WaitForSyncOnApplicationStart]
     [-WaitForSyncOnLogon]
     [-SyncUnlistedWindows8Apps]
     [-VdiCollectionName]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

The Clear-UevConfiguration cmdlet clears Microsoft User Experience Virtualization (UE-V) configuration settings. If you specify the CurrentComputerUser parameter, the cmdlet clears the settings that you specify for the current user only. If you specify the Computer parameter, the cmdlet clears the settings that you specify for all users on the computer. You must have administrative credentials to use this cmdlet to clear settings for all users on the computer. If you do not specify the CurrentComputerUser or Computer parameter, the cmdlet clears the settings that you specify for the current user only.

Examples

Example 1: Clear the setting for maximum package size for all users

PS C:\> Clear-UevConfiguration -Computer -MaxPackageSizeInBytes

This command clears the setting for maximum package size for all users on the computer.

Example 2: Clear the setting for maximum package size for the current user

PS C:\> Clear-UevConfiguration -CurrentComputerUser -MaxPackageSizeInBytes

This command clears the setting for maximum package size for the current user.

Example 3: Clear the setting for maximum package size by default for the current user

PS C:\> Clear-UevConfiguration -MaxPackageSizeInBytes

This command clears the setting for maximum package size by default for the current user.

Example 4: Clear multiple settings for the current user

PS C:\> Clear-UevConfiguration -MaxPackageSizeInBytes -SyncTimeoutInMilliseconds

This command clears the settings for maximum package size and synchronization timeout for the current user.

Parameters

-Computer

Indicates that the cmdlet clears the settings for all users on the computer.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
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

-ContactITDescription

Indicates that the cmdlet clears the setting for the description of the Contact IT link.

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

-ContactITUrl

Indicates that the cmdlet clears the setting for the URL of the Contact IT link.

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

-CurrentComputerUser

Indicates that the cmdlet clears the settings 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

-DontSyncWindows8AppSettings

Indicates that the cmdlet clears the setting for not synchronizing settings for Windows® 8 apps.

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

-FirstUseNotificationEnabled

Indicates that the cmdlet clears the setting for the notification of first-use.

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

-MaxPackageSizeInBytes

Indicates that the cmdlet clears the setting for the maximum package size.

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

-SettingsImportNotifyDelayInSeconds

Indicates that the cmdlet clears the setting for the delay before UE-V notifies the user about the settings import.

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

-SettingsImportNotifyEnabled

Indicates that the cmdlet clears the setting for the notification of settings import.

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

-SettingsStoragePath

Indicates that the cmdlet clears the setting for the path of the location where UE-V stores the user settings.

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

-SettingsTemplateCatalogPath

Indicates that the cmdlet clears the setting for the path of the location where UE-V stores the settings template catalog.

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

-SyncEnabled

Indicates that the cmdlet clears the setting that enables the synchronization of settings.

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

-SyncMethod

Indicates that the cmdlet clears the setting for the method of the synchronization of settings.

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

-SyncOverMeteredNetwork

Indicates that the cmdlet clears the setting for synchronization over metered connections.

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

-SyncOverMeteredNetworkWhenRoaming

Indicates that the cmdlet clears the setting for synchronization over a metered connection that is roaming.

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

-SyncProviderPingEnabled

Indicates that the cmdlet clears the setting that enables the sync provider to ping for network access before doing a sync.

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

-SyncTimeoutInMilliseconds

Indicates that the cmdlet clears the setting for the timeout before UE-V synchronizes settings from the settings repository.

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

-SyncUnlistedWindows8Apps

Indicates that the cmdlet clears the setting for the synchronization of unlisted Windows 8 apps.

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

-TrayIconEnabled

Indicates that the cmdlet clears the setting for the icon in the notification area.

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

-VdiCollectionName

Indicates that the cmdlet performs synchronization in a pooled VDI-type environment when computers are not persistent.

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

-WaitForSyncOnApplicationStart

Indicates that the cmdlet clears the setting for waiting for synchronization to finish before the user can start an application.

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

-WaitForSyncOnLogon

Indicates that the cmdlet clears the setting for waiting for synchronization to finish before the user can log on.

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

-WaitForSyncTimeoutInMilliseconds

For internal use only.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
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