A. Netdom is used in versions of Windows before Windows 7 for command-line domain membership tasks such as joining a computer to a domain. Windows 7 instead provides the PowerShell cmdlet Add-Computer, which allows you to add a computer to a domain or workgroup. The syntax for the command is
Add-Computer
The cmdlet allows far more complex execution than Netdom. You can use items such as the organizational unit location of the computer account, credentials, and computer name in the command. Run the command Get-Help Add-Computer for all the syntax options.
Related Reading:- How can I join a domain from the command line?
- How can I use the Windows 2000 and later Netdom command to specify an organizational unit (OU) when I join my computer to a domain?
- How can I rename a server from the command line?
- A Guided Video Tour of Windows 7
Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.
0 comments
Hide comments