Share via


RemoveByIPAddress method of the PS_DhcpServerv4Reservation class

Deletes the IPv4 Reservation from the specified scope.

Syntax

uint32 RemoveByIPAddress(
  [in]  string                  ComputerName,
  [in]  string                  IPAddress[],
  [in]  boolean                 PassThru,
  [out] DhcpServerv4Reservation cmdletOutput[]
);

Parameters

ComputerName [in]

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

IPAddress [in]

IPv4 address(es) of the reservation(s) which are to be deleted

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
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv4Reservation