I have an AD Group called "test users" in "domain1", this group needed to be added to the local administrator group in the servers which are in "domain2".
The same process I was doing manually by logging in to each server and then the Administrators group in lusrmgr.msc and then changing the location from domain2 to domain1 following by searching for the required group and adding it to the server.
Can anyone help me in doing the same process through powershell or cmd ? I was searching in stack overflow for multiple options but nothing have the similar scenario
Thanks in Advance!!!
You can try this:
possible with trust between domains