Share via


RemoveByPrefix method of the PS_DhcpServerv6Reservation class

Deletes the IPv6 reservation(s) from the specified scope.

Syntax

uint32 RemoveByPrefix(
  [in]  string                  Prefix,
  [in]  string                  ComputerName,
  [in]  boolean                 PassThru,
  [out] DhcpServerv6Reservation cmdletOutput[]
);

Parameters

Prefix [in]

IPv6 subnet prefix of the scope from which leases are to be deleted.

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 return the PowerShell objects which are deleted.

cmdletOutput [out]

An embedded instance of the DhcpServerv6Reservation 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_DhcpServerv6Reservation