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.8k 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, 2020 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 (910 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.8k 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, 2020 by scoutcor (850 points)
0 votes
1 answer

Hello, I want service desk to be able to select from the web interface only groups that are specified in a Business Unit. it is possible to do it (Adaxes 2009.1)? Thanks you.

asked Sep 2, 2020 by tentaal (5.8k points)
2,381 questions
2,136 answers
5,765 comments
183,431 users