Hello,
I want to give the ability for the Help Desk to add a new IE trusted site.
I did a Custom Commands that works well.
$scriptBlock = Powershell {
Import-Module Adaxes
Import-Module GroupPolicy
$GPOName="GPO_TESTADAXES"
$ListKey = "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMapKey"
$Zone="2"
$URL="http://thisisdemo2.fr"
Set-GPRegistryValue -Name $GPOName -Key $ListKey -ValueName $URL -Type String -Value $Zone
} # TODO: modify me
I want a form in the web interface with only two fields : URL ($ListKey) and Zone ( $Zone). The GPO name ($GPOName)will never change.
It is possible to do it?