کد:
Netdom join ClientA /domain:Company /reboot:30
/domain:name Required. Specifies the domain to join.
/ou
ath Optional. Specifies the OU in which to create the
computer account. If left out, the computer will be
created in the default container.
/UserD:name /PasswordD:* Optional. Specifies an alternate account to be used
to connect to the domain. Specify /PasswordD:* to
be prompted for a password.
/UserO:name
/PasswordO:*
Optional. Specifies an alternate account for
connecting to the targeted computer. Specify
/PasswordO:* to be prompted for a password.
/reboot:seconds Optional. Specifies the number of seconds to wait
before restarting the computer automatically. If
omitted, the default is 20 seconds.