< All Topics Main Microsoft Windows Server Misc Methods to Join Windows Computer to Domain - PS/CLI Print Methods to Join Windows Computer to Domain – PS/CLI Posted30/01/2022 Updated30/01/2022 ByPawel Methods to Join Windows Computer to Domain - PS/CLI Method 1 – Add Windows 11 Computer to Domain using PowerShellYou can join a Windows 11 workgroup computer to AD domain using PowerShell.Launch the PowerShell as administrator on Windows 11 computer.Run the following command to add or join Windows 11 computer to domain.Add-Computer -DomainName “Domain Name” -Credential “Domain Username”Press enter, and you will be prompted to enter your domain user password.Restart the computer to complete the domain join process.Method 2 – Join Windows 11 to a Domain using Command lineYou can use the command prompt to join Windows 11 computers to a domain.On Windows 11 computer, click Start, and launch the CMD as administrator.Run the following command to add Windows 11 to Domain.netdom join %computername% /domain:yourADdomain /UserD:username /PasswordD:specifypasswordRestart the Windows 11 computer to complete the domain join.