Remove method of the PS_DhcpServerInDC class

Deletes the specified DHCP server from the list of authorized servers in AD.

Syntax

uint32 Remove(
  [in]  string         DnsName,
  [in]  string         IPAddress,
  [in]  boolean        PassThru,
  [out] DhcpServerInDC cmdletOutput
);

Parameters

DnsName [in]

DNS name of the DHCP server which is to be de-authorized

IPAddress [in]

IP address of the DHCP server which is to be de-authorized

PassThru [in]

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

cmdletOutput [out]

An embedded instance of a DhcpServerInDC object.

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_DhcpServerInDC