Partager via


Remove method of the PS_DhcpServerv6ExclusionRange class

Deletes a range of IP addresses previously excluded from an IPv4 Scope.

Syntax

uint32 Remove(
  [in]  string                     ComputerName,
  [in]  string                     Prefix,
  [in]  string                     StartRange,
  [in]  string                     EndRange,
  [in]  boolean                    Passthru,
  [out] DhcpServerv6ExclusionRange cmdletOutput[]
);

Parameters

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

Prefix [in]

The IPv6 subnet prefix of the scope from which the excluded IP ranges are to be deleted.

StartRange [in]

The start IPv6 address of the excluded IP range which is to be deleted

EndRange [in]

The end IPv6 address of the excluded IP range which is to be deleted.

Passthru [in]

If this parameter is specified, the cmdlet return the PowerShell objects which are deleted.

cmdletOutput [out]

An embedded instance of the DhcpServerv6ExclusionRange class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv6ExclusionRange