編集

次の方法で共有


Get-UevConfiguration

Gets the UE-V configuration settings.

Syntax

Get-UevConfiguration []
Get-UevConfiguration
   [-Computer]
   [<CommonParameters>]
Get-UevConfiguration
   [-CurrentComputerUser]
   [<CommonParameters>]
Get-UevConfiguration
   [-Details]
   [<CommonParameters>]

Description

The Get-UevConfiguration cmdlet gets the Microsoft User Experience Virtualization (UE-V) configuration settings. If you specify the Computer parameter, the cmdlet gets the settings for all users on the computer. If you specify the CurrentComputerUser parameter, the cmdlet gets the settings for just the current user.

Examples

Example 1: Get the uev_tla configuration

PS C:\> Get-UevConfiguration


Key                                     Value
---                                     -----
MaxPackageSizeInBytes                   700000
SettingsImportNotifyDelayInSeconds      10
SettingsImportNotifyEnabled             False
SettingsStoragePath                     \\ServerName\Path\To\CentralStore
SettingsTemplateCatalogPath
SyncEnabled                             True
SyncMethod                              OfflineFiles
SyncFromRepositoryTimeoutInMilliseconds 2000

This command gets the active UE-V configuration on the computer where you run the cmdlet.

Example 2: Get the computer-wide configuration

PS C:\> Get-UevConfiguration -Computer


Key                                     Value
---                                     -----
MaxPackageSizeInBytes                   700000
SettingsImportNotifyDelayInSeconds
SettingsImportNotifyEnabled
SettingsStoragePath                     \\ServerName\Path\To\CentralStore
SettingsTemplateCatalogPath
SyncEnabled
SyncMethod                              OfflineFiles
SyncFromRepositoryTimeoutInMilliseconds 2000

This command gets the UE-V configuration settings for all users on the computer. The command gets the HKey Local Machine (HKLM) configuration settings that are in the registry.

Example 3: Get the user-specific configuration

PS C:\> Get-UevConfiguration -CurrentComputerUser


Key                                     Value
---                                     -----
MaxPackageSizeInBytes
SettingsImportNotifyDelayInSeconds
SettingsImportNotifyEnabled
SettingsStoragePath
SyncEnabled
SyncMethod
SyncFromRepositoryTimeoutInMilliseconds

This command gets the user-specific UE-V configuration, including the HKey Current User (HKCU) configuration settings that are in the registry.

Parameters

-Computer

Indicates that the cmdlet gets the UE-V configuration settings for all users on the computer.

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

-CurrentComputerUser

Indicates that the cmdlet gets the UE-V configuration settings for the current user only.

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

-Details

Indicates that the cmdlet gets the UE-V configuration settings, including all of the details.

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

Outputs

System.Collections.Generic.Dictionary, System.Collections.Generic.KeyValuePair

This cmdlet generates a KeyValuePair object that represents the setting name and value, if you specify a setting name. Otherwise, this cmdlet generates a list of all of the settings.

Notes

  • A setting value can be from four sources (in order of precedence): group policy settings for the current user, group policy settings for the local computer, the current user, and the local computer. If no setting value is found in any of the sources, UE-V uses the default setting.