NETDOM ADD machine /Domain:domain /UserD:user /PasswordD:[password | /Server:server /OU:ou path /DC /SecurePasswordPrompt ...

NETDOM ADD machine [/Domain:domain] [/UserD:user] [/PasswordD:[password | *]]
           [/Server:server] [/OU:ou path] [/DC] [/SecurePasswordPrompt]

NETDOM ADD Adds a workstation or server account to the domain.

machine is the name of the computer to be added

/Domain         Specifies the domain in which to create the machine account

/UserD          User account used to make the connection with the domain
                specified by the /Domain argument

/PasswordD      Password of the user account specified with /UserD.  A * means
                to prompt for the password

/Server         Name of a specific domain controller that should be used to
                perform the Add. This option cannot be used with the /OU
                option.

/OU             Organizational unit under which to create the machine account.
                This must be a fully qualified RFC 1779 DN for the OU. When
                using this argument, you must be running directly on a domain
                controller for the specified domain.
                If this argument is not included, the account will be created
                under the default organization unit for machine objects for
                that domain.

/DC             Specifies that a domain controller's machine account is to be
                created. This option cannot be used with the /OU option. 

/SecurePasswordPrompt 
                Use secure credentials popup to specify credentials. This
                option should be used when smartcard credentials need to be
                specified. This option is only in effect when the password 
                value is supplied as *
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
italiano
Italian
日本語
Japanese
한국어
Korean
Português
Portuguese
Русский
Russian