CmdID / PowerShell / Cmdlets / Set
Set-GPPrefRegistryValue
Configures a Registry preference item under either Computer Configuration or User Configuration in a GPO. Windows Server PowerShell reference
From the Windows Server PowerShell reference 14 parameters Its page in the reference
Parameters
-ActionSpecifies the action for the Registry preference item.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ContextSpecifies whether the Registry preference item is configured under User Configuration or Computer Configuration in the GPO.-DisableIndicates that the cmdlet configures the Registry preference item as disabled.-Domain, -DomainNameSpecifies the domain for this cmdlet.-Guid, -IdSpecifies the GPO in which to configure the Registry preference item by its globally unique identifier (GUID).-Key, -FullKeyPathSpecifies the registry key for the Registry preference item; for instance: HKEY_CURRENT_USER\Control Panel\Colors.-Name, -DisplayNameSpecifies the GPO in which to configure the Registry preference item by its display name.-OrderSpecifies the order in which the Registry preference item is processed relative to other Registry preference items in the GPO when the GPO is applied on a client computer.-Server, -DCSpecifies the name of the domain controller that this cmdlet contacts to complete the operation.-TypeSpecifies the data type of the registry value for the Registry preference item.-ValueSpecifies the value data of the registry value for the Registry preference item.-ValueNameSpecifies the value name of the registry value for the Registry preference item.-WhatIf, -wiShows what would happen if the cmdlet runs.