CmdID

CmdID / Commands

wdsutil delete autoadddevices

Deletes computers that are pending, rejected, or approved from the auto-add database. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Deletes computers that are pending, rejected, or approved from the auto-add database. This database stores information about these computers on the server.

wdsutil /delete-AutoaddDevices [/Server:<Servername>] /Devicetype:{PendingDevices | RejectedDevices |ApprovedDevices}

To delete all rejected computers, type

wdsutil /delete-AutoaddDevices /Devicetype:RejectedDevicesIdentify

To delete all approved computers, type

wdsutil /verbose /delete-AutoaddDevices /Server:MyWDSServer /Devicetype:ApprovedDevicesIdentify
[/Server:<Servername>]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 delete from the database. This type can be PendingDevices, which returns all computers in the database that have a status of pending, RejectedDevices, which returns all computers in the database that have a status of rejected, or ApprovedDevices, which returns all computers that have a status of approved.