0 votes

Occationally Service Desk staff need to clear a DNS record when a desktop has been reimaged but is keeping the same name as loses the ability to manage its original DNS record. I'd like to use the paowershell command RemoveDnsResourceRecord and have the staff manually enter the machine name to remove. I setup the parameter "DNSRecord2Remove" but the custom command builder appears to force me to select an "Object Type" Is there a way to get around this? Also, the Powershell applet RemoveDnsResourceRecord is not recognized when running in ADAXES. Can I just install the applet on the ADAXES server using powershell?

by (40 points)

1 Answer

0 votes
by (236k points)

Hello Steve,

I setup the parameter "DNSRecord2Remove" but the custom command builder appears to force me to select an "Object Type" Is there a way to get around this?

If you want users to manually enter the required data, use a parameter of the Edit box type. For details about using parameters, have a look at step 5 of the following tutorial: https://www.adaxes.com/help/CreateCustomCommand. As for the type of object for the custom command itself, there is no way not to specify it as commands are executed against specific objects only. As a solution, you can create a custom command for the User object type and then create a Web interface action for it. The action should be always executed for the currently logged on user.

Also, the Powershell applet RemoveDnsResourceRecord is not recognized when running in ADAXES. Can I just install the applet on the ADAXES server using powershell?

Yes, you just need to install the corresponding PowerShell module on the computer where Adaxes service runs. If you have multiple instances of Adaxes service sharing common configuration, the module should be installed on all the corresponding computers.

Related questions

0 votes
1 answer

I would like to add a parameter for country to a custom command. Since the country has to be entered correctly in order for Active Directory to accept it, I would like to ... ? I didn't find it in the documentation and the sample scripts didn't use parameters.

asked Jun 4, 2020 by mark.it.admin (2.1k points)
0 votes
1 answer

As part of our (legacy) deprovisioning script (run by hand / not part of Adaxes), the user's home folder is moved to a folder tree of the format: !disabled\< ... have to resort to a PS script for that rather than allowing Adaxes to handle it internally.

asked Oct 6, 2014 by bradenmcg (260 points)
0 votes
1 answer

I'm in the process of creating a Web interface for requesting IT accounts. Upon submission, I want to run a Powershell script that will create an item in a Sharepoint task list.

asked May 14, 2021 by sandramnc (820 points)
0 votes
1 answer

I have an ADP Sync scheduled task that modifies and creates users from a csv file. I also have reports that show new users created and management history for user ... ADP Sync scheduled task so that they only run after the ADP Sync task is complete?

asked Jan 7, 2020 by barberk (60 points)
0 votes
1 answer

Dear Is it possible to change the values of a custom attribute (adm-CustomAttributeTextMultiValue4) when selecting a value from another custom attribute (adm-CustomAttributeText1). For ... , 2Latijn, 3Latijn, etc... Is this possible? Sincerly Hilmi Emre Bayat

asked Aug 26, 2019 by hilmiemrebayat (120 points)
2,931 questions
2,647 answers
6,860 comments
157,450 users