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 RemoveByScopeId(
[in] boolean PassThru,
[in] string ComputerName,
[in] string ScopeId,
[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.
-
ScopeId [in]
-
Scope identifier (in IPv4 address format) from which the IP address leases 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 |
|