Deny-WdsClient

Deny-WdsClient

Denies approval for clients.

Syntax

Parameter Set: Deny0
Deny-WdsClient [-AsJob] [-CimSession <CimSession[]> ] [-RequestID <UInt32> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Detaillierte Beschreibung

The Deny-WdsClient cmdlet denies approval for clients. Unknown clients require approval before the server that runs Windows Deployment Services boots the client in Pre-Boot Execution Environment (PXE). Use the Approve-WdsClient cmdlet to approve clients.

You can specify a single device to deny by using a request ID. The server that runs Windows Deployment Services allocates a request ID to a device. If you do not specify a client to deny, the cmdlet denies approval for all pending clients.

Parameter

-AsJob

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-CimSession<CimSession[]>

Führt das Cmdlet in einer Remotesitzung oder auf einem Remotecomputer aus. Geben Sie einen Computernamen oder ein Sitzungsobjekt ein, z. B. die Ausgabe eines Cmdlets New-CimSession oder Get-CimSession. Der Standardwert ist die aktuelle Sitzung auf dem lokalen Computer.

Aliasse

Session

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-RequestID<UInt32>

Specifies the request ID that the server that runs Windows Deployment Services allocates to a device in the Pending Device database. To find the Request ID, use the Get-WdsClient cmdlet and look for the RequestId property of the client. If you do not specify this parameter, the cmdlet denies all devices.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByValue, ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-ThrottleLimit<Int32>

Gibt die maximale Anzahl von gleichzeitigen Vorgängen an, die zum Ausführen dieses Cmdlets eingerichtet werden können. Wenn dieser Parameter ausgelassen oder der Wert 0 eingegeben wird, berechnet Windows PowerShell® einen optimalen Drosselungsgrenzwert für das Cmdlet basierend auf der Anzahl der CIM-Cmdlets, die auf dem Computer ausgeführt werden. Die Drosselungsgrenze gilt nur für das aktuelle Cmdlet und nicht für die Sitzung oder den Computer.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

Beispiele

Example 1: Deny approval for all pending clients

This command denies approval for all pending pre-staged clients.

PS C:\> Deny-WdsClient

Example 2: Deny approval for a pending client

This command denies approval for the pre-staged client that has the specified request ID.

PS C:\> Deny-WdsClient -RequestID 5

Verwandte Themen

Approve-WdsClient

Get-WdsClient

New-WdsClient

Remove-WdsClient

Set-WdsClient