Rejoin Computer to new domain automatically
hi,
we have 2 different domains (domain & domain b) 2 way trust, how can rejoin computers member of domain member of domain b automatically?
hi
you can use "netdom join" command join domain.but first computers needs unjoin current domain.cause computers belong single domain.
check netdom in a batch file ; http://portal.sivarajan.com/2010/04/add-workstation-to-domain-batch-file.html
netdom join ; https://technet.microsoft.com/en-us/library/cc788049(v=ws.11).aspx
for powershell "use powershell replace netdom commands join domain";
https://blogs.technet.microsoft.com/heyscriptingguy/2012/02/29/use-powershell-to-replace-netdom-commands-to-join-the-domain/
this posting provided no warranties or guarantees,and confers no rights. best regards burak uğur
Windows Server > Directory Services
Comments
Post a Comment