Set / Remove Extra Registry Settings from GPOs
Solution:
Powershell cmdlet has a useful set of cmdlets that allow you to read and write directly to the underlying storage file–registry.pol— where Administrative Templates settings are stored. These cmdlets are:
Set-GPRegistryValue
Get-GPRegistryValue
Remove-GPRegistryValue
Set-GPRegistryValue
Example:
Get-GPRegistryValue -Name "*GPO Name" -Key "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\"
No comments:
Post a Comment