Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the specified IPv4 address lease record from the DHCP server.
Syntax
uint32 RemoveByIPAddress(
[in] boolean PassThru,
[in] string ComputerName,
[in] string IPAddress[],
[out] DhcpServerv4Lease cmdletOutput[]
);
Parameters
-
PassThru [in]
-
If this parameter is specified, the cmdlet return the PowerShell objects which are deleted.
-
ComputerName [in]
-
DNS name or IP address of the target computer running the DHCP server service.
-
IPAddress [in]
-
IP address(es) whose lease records are to be deleted
-
cmdletOutput [out]
-
An embedded instance of the DhcpServerv4Lease class.
Requirements
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\Microsoft\Windows\DHCP |
| MOF |
|
| DLL |
|