/get-AutoAddDevices

Applies To: Windows Server 2008, Windows Server 2008 R2

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

Additional references

Command-Line Syntax Key

/delete-AutoAddDevices

/approve-AutoAddDevices

/reject-AutoAddDevices