Share via


RemoveByScopeId method of the PS_DhcpServerv4Reservation class

Deletes the IPv4 Reservation from the specified scope.

Syntax

uint32 RemoveByScopeId(
  [in]  string                  ComputerName,
  [in]  boolean                 PassThru,
  [in]  string                  ScopeId,
  [out] DhcpServerv4Reservation 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 returns the PowerShell object which is modified.

ScopeId [in]

Scope identifier (in IPv4 address format) from which the reservations are to be deleted.

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