Is it possible to create a task to run a script on the domain controller that would Add Computer To Domain Group? The goal is to have a task that after the computer is joined to the domain at build time, the computer account gets added to a domain group.
I am not asking for any scripting to be done. I already have a script that, if run on the domain controller, would add a computer account to a domain group.
How can I integrate this script into Immy so that the script and the computername and group name are passed to the domain controller during build time and run there?
It seems like this should be possible as there is an Immy agent on the DC and Immy has already joined the computer to the domain.
Please note I have already looked at existing scripts and the scripting docs Scripting Guide | ImmyBot but there is no info on running a script on a DC.