Set method of the PS_DhcpServerv4FilterList class

Enables or disables the allow and/or deny MAC address filter lists on the DHCP Server.

Syntax

uint32 Set(
  [in]  string                 ComputerName,
  [in]  boolean                Allow,
  [in]  boolean                Deny,
  [in]  boolean                PassThru,
  [out] DhcpServerv4FilterList cmdletOutput
);

Parameters

ComputerName [in]

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

Allow [in]

Enable/Disable the MAC address filter allow list. Valid values are True, False.

Deny [in]

Enable/Disable the MAC address filter deny list. Valid values are True, False.

PassThru [in]

If this parameter is specified, the cmdlet returns the PowerShell object which is modified.

cmdletOutput [out]

An embedded instance of the DhcpServerv4FilterList 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_DhcpServerv4FilterList