Description: Adds a prestaged device to Active Directory. Syntax: WDSUTIL Options /Add-Device /Device: /ID: /ReferralServer: ...

Description: Adds a prestaged device to Active Directory.

Syntax:
WDSUTIL [Options] /Add-Device /Device:
                           /ID:
                           [/ReferralServer:]
                           [/BootProgram:]
                           [/WdsClientUnattend:]
                           [/User:]
                           [/JoinRights:{JoinOnly | Full}]
                           [/JoinDomain:{Yes | No}]
                           [/BootImagePath:]
                           [/OU:]
                           [/Domain:]

/Device:               Name of the device to be added.
/ID:            Specifies either the GUID or MAC
                                    address of the computer.  A GUID must
                                    be in one of the following formats:
                                    binary string or GUID string. Examples:
                                    Binary string:
                                    /ID:ACEFA3E81F20694E953EB2DAA1E8B1B6
                                    GUID string:
                                    /ID:E8A3EFAC-201F-4E69-953E-B2DAA1E8B1B6
                                    A MAC address must be in the format:
                                      00B056882FDC (no dashes) or
                                      00-B0-56-88-2F-DC (with dashes)
[/ReferralServer:]     The name of the server to contact to
                                    download the network boot program
                                    and boot image using TFTP.
[/BootProgram:]      The relative path from the RemoteInstall
                                    share to the network boot program that
                                    this computer should receive. For
                                    example "boot\x86\pxeboot.com"
[/WdsClientUnattend:] The relative path from the RemoteInstall
                                    share to the unattend file that
                                    automates the Setup UI screens.
[/User:] Sets permissions on the computer
                                    account object to give the specified
                                    user the necessary rights to join the
                                    domain.
[/JoinRights:{JoinOnly | Full}]     Specifies the type of rights to assign
                                    to the user. JoinOnly requires the
                                    administrator to reset the computer
                                    account before the user can join the
                                    computer to the domain. Full gives full
                                    access to the user (including the right
                                    to join the domain).
[/JoinDomain:{Yes | No}]            Specifies whether or not the computer
                                    should be joined to the domain as this
                                    computer account during installation.
                                    The  default is Yes.
[/BootImagePath:]    The relative path from the RemoteInstall
                                    share to the boot image that this
                                    computer should receive.