Share via


RemoveByIPAddress method of the PS_DhcpServerv6Lease class

Deletes one or more IPv6 lease records from the server.

Syntax

uint32 RemoveByIPAddress(
  [in]  string            ComputerName,
  [in]  boolean           PassThru,
  [in]  string            IPAddress[],
  [out] DhcpServerv6Lease 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.

IPAddress [in]

IPv6 addresses whose leases records are to be deleted from the server.

cmdletOutput [out]

An embedded instance of the DhcpServerv6Lease 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_DhcpServerv6Lease