Share via


Remove method of the PS_DhcpServerv4Filter class

Deletes the specified MAC address or MAC address pattern from allow list or deny list of the Server.

Syntax

uint32 Remove(
  [in]  string             ComputerName,
  [in]  boolean            PassThru,
  [in]  string             MacAddress[],
  [out] DhcpServerv4Filter 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 return the PowerShell objects which are deleted.

MacAddress [in]

MAC Address(es) which are to be deleted from the allow or deny filter

cmdletOutput [out]

An embedded instance of the DhcpServerv4Filter 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_DhcpServerv4Filter