Remove-DhcpServerv4MulticastExclusionRange

Remove-DhcpServerv4MulticastExclusionRange

Removes a range of addresses previously excluded from a multicast scope.

Syntax

Parameter Set: Remove2
Remove-DhcpServerv4MulticastExclusionRange [-Name] <String> [[-StartRange] <IPAddress> ] [[-EndRange] <IPAddress> ] [-AsJob] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detaillierte Beschreibung

The Remove-DhcpServerv4MulticastExclusionRange cmdlet removes a range of addresses previously excluded from a multicast scope. The addresses are available immediately after the cmdlet runs. An exclusion prevents the Dynamic Host Configuration Protocol (DHCP) Server service from offering these addresses for DHCP assignment.

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

-ComputerName<String>

Specifies the Domain Name System (DNS) name or IP address of the target computer that runs the DHCP Server service.

Aliasse

Cn

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-EndRange<IPAddress>

Specifies the high end of the range of IP addresses previously excluded from the scope. Use the StartRange parameter to specify the low end of the range of IP addresses to remove from the exclusion range. If you do not specify the low end of the range by using the StartRange parameter, the cmdlet removes the exclusion range that ends with this parameter. If the DHCP Server service is not excluding addresses ending at the specified value, the cmdlet returns an error and exits.

If you do not specify either the low end or the high end of the exclusion range, the cmdlet removes all exclusion ranges for the specified scope.

Aliasse

Keiner

Erforderlich?

false

Position?

4

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-Name<String>

Specifies the name of the multicast scope from which to remove the IP address exclusion range.

Aliasse

Keiner

Erforderlich?

true

Position?

2

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-PassThru

Gibt ein Objekt zurück, das das Element darstellt, mit dem Sie arbeiten. Standardmäßig wird von diesem Cmdlet keine Ausgabe generiert. If this parameter is specified, the cmdlet return the PowerShell objects which are deleted.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-StartRange<IPAddress>

Specifies the low end of the range of IP addresses that were previously excluded from the scope. Use the EndRange parameter to specify the high end of the range of IP addresses to remove from the exclusion range. If you do not specify the high end of the range by using the EndRange parameter, the cmdlet removes the exclusion range that begins with this parameter. If the DHCP Server service is not excluding addresses beginning at the specified value, the cmdlet returns an error and exits.

If you do not specify either the low end or the high end of the exclusion range, the cmdlet removes all exclusion ranges for the specified scope.

Aliasse

Keiner

Erforderlich?

false

Position?

3

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (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

-Confirm

Sie werden vor dem Ausführen des Cmdlets zur Bestätigung aufgefordert.

Erforderlich?

false

Position?

named

Standardwert

falsch

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Erforderlich?

false

Position?

named

Standardwert

falsch

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: Remove an excluded address range by scope name

This command removes all excluded multicast IP address ranges from the multicast scope named Multicast_VideoConference from the DHCP Server service running on the computer named DhcpServer01.Contoso.com.

PS C:\> Remove-DhcpServerv4MulticastExclusionRange -Name "Multicast_VideoConference" -ComputerName "DhcpServer01.Contoso.com"

Example 2: Remove an excluded address range by IP address

This command removes the excluded multicast IP address range 224.0.0.21 through 224.0.0.25 from the multicast scope named Multicast_VideoConference.

PS C:\> Remove-DhcpServerv4MulticastExclusionRange -Name "Multicast_VideoConference" -StartRange 224.0.0.21 -EndRange 224.0.0.25 -ComputerName "DhcpServer01.Contoso.com"

Example 3: Remove an excluded address range by start range

This command removes the excluded multicast IP address range beginning with address 224.0.0.21. The command specifies the multicast scope named Multicast_VideoConference for the DHCP Server service running on the computer named DhcpServer01.Contoso.com.

PS C:\> Remove-DhcpServerv4MulticastExclusionRange -Name "Multicast_VideoConference" -StartRange 224.0.0.21 -ComputerName "DhcpServer01.Contoso.com"

Verwandte Themen

Add-DhcpServerv4MulticastExclusionRange

Get-DhcpServerv4MulticastExclusionRange