Partager via


Remove method of the PS_DhcpServerv4ExclusionRange class

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

Syntax

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

Parameters

ComputerName [in]

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

ScopeId [in]

Scope identifier (in IPv4 address format) from which the exclusion ranges are to be deleted

StartRange [in]

Start IP address of the excluded IP range which is to be deleted

EndRange [in]

End IP 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 a DhcpServerv4ExclusionRange object.

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_DhcpServerv4ExclusionRange