Condividi tramite


/get-AllDevices

 

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Displays the Windows Deployment Services properties of all prestaged computers. A prestaged computer is a physical computer that has been linked to a computer account in Active Directory Domain Services.

Syntax

WDSUTIL [Options] /Get-AllDevices [/Forest:{Yes | No}] [/ReferralServer:<Server name>]

Parameters

Parameter

Description

[/Forest:{Yes | No}]

Specifies whether Windows Deployment Services should return computers in the entire forest or the local domain. The default setting is No, meaning that only the computers in the local domain are returned.

[/ReferralServer:<Server name>]

Returns only those computers that are prestaged for the specified server.

Examples

To view all computers, type one of the following:

WDSUTIL /Get-AllDevices
WDSUTIL /Verbose /Get-AllDevices /Forest:Yes /ReferralServer:MyWDSServer

Additional references

Command-Line Syntax Key

-set-Device

-add-Device

-get-Device