RemoveByClientId method of the PS_DhcpServerv4Reservation class
Deletes the IPv4 Reservation from the specified scope.
Syntax
uint32 RemoveByClientId(
[in] string ScopeId,
[in] string ClientId[],
[in] string ComputerName,
[in] boolean PassThru,
[out] DhcpServerv4Reservation cmdletOutput[]
);
Parameters
-
ScopeId [in]
-
Scope identifier (in IPv4 address format) from which the reservations are to be deleted
-
ClientId [in]
-
Client identifier(s) of the reservations which are to be deleted. For Windows clients, MAC address is used as a client identifier.
-
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 returns the PowerShell object which is modified.
-
cmdletOutput [out]
-
An embedded instance of the DhcpServerv4Reservation class.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\DHCP |
MOF |
|
DLL |
|