Rediger

Del via


wdsutil get-autoadddevices

Displays all computers that are in the Auto-add database on a Windows Deployment Services server.

Syntax

wdsutil [Options] /Get-AutoaddDevices [/Server:<Server name>] /Devicetype:{PendingDevices | RejectedDevices | ApprovedDevices}

Parameters

Parameter Description
[/Server:<Server name>] Specifies the name of the server. This can be either the NetBIOS name or the fully qualified domain name (FQDN). If no server name is specified, the local server will be used.
/Devicetype:{PendingDevices | RejectedDevices | ApprovedDevices} Specifies the type of computer to return.

- PendingDevices returns all computers in the database that have a status of pending.
- RejectedDevices returns all computers in the database that have a status of rejected.
- ApprovedDevices returns all computers in the database that have a status of approved.

Examples

To see all of the approved computers, type:

wdsutil /Get-AutoaddDevices /Devicetype:ApprovedDevices

To see all of the rejected computers, type:

wdsutil /verbose /Get-AutoaddDevices /Devicetype:RejectedDevices /Server:MyWDSServer