text
stringlengths
0
4.23k
wdsutil /Get-AllServers /Show:Config
To view detailed information about all servers, type:
wdsutil /Verbose /Get-AllServers /Show:All /Detailed /Forest:Yes
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.- 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.
- 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
wdsutil get-device
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Retrieves Windows Deployment Services information about a prestaged computer (that is, a physical computer that has been lined to a computer account in active directory Domain Services.
Syntax
wdsutil /Get-Device {/Device:<Device name> | /ID:<MAC or UUID>} [/Domain:<Domain>] [/forest:{Yes | No}]
Parameters
Parameter
Description
/Device:<Device name>
Specifies the name of the computer (SAMAccountName).
/ID:<MAC or UUID>
Specifies either the MAC address or the UUID (GUID) of the computer, as shown in the following examples. Note that a valid GUID must be in one of two formats binary string or GUID string- Binary string: /ID:ACEFA3E81F20694E953EB2DAA1E8B1B6- MAC address: 00B056882FDC (no dashes) or 00-B0-56-88-2F-DC (with dashes)- GUID string: /ID:E8A3EFAC-201F-4E69-953-B2DAA1E8B1B6
[/Domain:<Domain>]
Specifies the domain to be searched for the prestaged computer. The default value for this parameter is the local domain.
[/forest:{Yes | No}]
Specifies whether Windows Deployment Services should search the entire forest or the local domain. The default value is No, meaning that only the local domain will be searched.
- Binary string: /ID:ACEFA3E81F20694E953EB2DAA1E8B1B6- MAC address: 00B056882FDC (no dashes) or 00-B0-56-88-2F-DC (with dashes)- GUID string: /ID:E8A3EFAC-201F-4E69-953-B2DAA1E8B1B6
Examples
To get information by using the computer name, type:
wdsutil /Get-Device /Device:computer1
To get information by using the MAC address, type:
wdsutil /verbose /Get-Device /ID:00-B0-56-88-2F-DC /Domain:MyDomain
To get information by using the GUID string, type:
wdsutil /verbose /Get-Device /ID:E8A3EFAC-201F-4E69-953-B2DAA1E8B1B6 /forest:Yes
wdsutil get-drivergroup
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Displays information about the driver groups on a server.
Syntax
wdsutil /Get-DriverGroup /DriverGroup:<Group Name> [/Server:<Server name>]
Parameters
Parameter
Description
/DriverGroup:<Group Name>
Specifies the name of the driver group.
[/Server:<Server name>]
Specifies the name of the server. This can be the NetBIOS name or the FQDN. if a server name is not specified, the local server is used.
[/Show: {PackageMetaData | Filters | All}]
Displays the metadata for all the driver packages in the specified group. PackageMetaData displays information about all the filters for the driver group. Filters displays the metadata for all driver packages and filters for the group.