Share via


Remove method of the PS_DhcpServerv4MulticastLease class

Deletes one or more multicast scope leases corresponding to the specified multicast scope or specified IP addresses

Syntax

uint32 Remove(
  [in]  string                     ComputerName,
  [in]  boolean                    PassThru,
  [in]  string                     Name,
  [in]  string                     IPAddress[],
  [out] DhcpServerv4MulticastLease cmdletOutput[]
);

Parameters

ComputerName [in]

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

PassThru [in]

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

Name [in]

Name of the multicast scope from which to remove the IP address exclusion range

IPAddress [in]

An array of IP addresses to be deleted

cmdletOutput [out]

An embedded instance of the DhcpServerv4MulticastLease class.

Requirements

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

See also

PS_DhcpServerv4MulticastLease