Powershell Join Domain Nano Server
Computer cmdlets for joining a domain add remove for different methods to join nano server to a domain see the joining nano server to a domain section of install nano server.
Powershell join domain nano server. Joining a nano server to a domain offline mode. Open powershell and run the following command. Djoin command is used to offline join the domain know more about offline domain join.
Djoin exe provision domain domain machine computername savefile filename. Open powershell as admin and run the following commands. Copy files to a nano server using remote powershell 5.
Nano01 is the name of the machine and all the information would be saved in c odjblob file. Note if your nano server is not part of your domain type the line below do add it to the trusted hosts list on your machine. Djoin requestodj loadfile c nanoserver05 windowspath c windows localos.
You may need to run powershell as administrator to avoid access denied errors. Line below will create a powershell session to the nano server. Joining nano server to domain.
Once you logged on run the line below. Creating the offline join file. To join the nano server to my active directory domain i ll use offline domain join utility djoin exe.
Enter pssession computername 192 168 100 20 credential administrator. To get started i open a windows powershell console. In this article i ll show you how i connect to my windows server 2016 using powershell remoting.