0 votes

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?

by (5.6k points)
0

I think I will do like this :

- Create a dummy user on AD
- Create a Business Unit that contains only the dummy user
- Create a Business Rule "After Updating a user" with Activity Scope limited to the new Business Unit.
- Use CustomAttributes to populate URL and Zone.
- Create a Custom Home Page Actions with automatic selection of the dummy user.
- Call the Powershell Script that update the GPO

Please log in or register to answer this question.

Related questions

+1 vote
1 answer

With the newer version of Adaxes, there does not seem to be the ablity for users to export their own reports with a button-click from the web interface. Users need to be able ... not readily apparent how to do this. Is there a doc somewhere or a quick answer?

asked Mar 31 by JORear (490 points)
0 votes
0 answers

Hi, how can I change Help Desk to something a little more specific like "Onboarding Portal"? Or a bit more catchy that our HR will like rather then see Help Desk in the left hand corner.

asked Oct 9, 2019 by 6FigureMission (710 points)
0 votes
1 answer

How do change the display name of a custom attribute in version 2017.2? All the information I am finding contains links that bring me to 2018 version

asked Nov 1, 2018 by hgletifer (6.2k points)
0 votes
1 answer

Is it possible to only allow a user to unlock their account from the web interface? We have a group of Mac users who we'd like to be able to unlock their accounts through the web but use a different service for changing their passwords.

asked Jun 30 by scoutcor (650 points)
0 votes
1 answer

Hi - How can I remove the option of allowing "Copy User Groups" during the copy user process in the interface. I'd like to have it hidden but still active so to not allow our HR team to accidently unclick it during the process.

asked Oct 15, 2019 by 6FigureMission (710 points)
2,247 questions
2,007 answers
5,495 comments
20,775 users