wdsutil get-autoadddevices
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
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. |
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
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for