Share via


Remove method of the PS_DhcpServerv4Class class

Deletes an IPv4 vendor class or user class from a DHCP Server.

Syntax

uint32 Remove(
  [in]  string            ComputerName,
  [in]  string            Name[],
  [in]  string            Type,
  [in]  boolean           PassThru,
  [out] DhcpServerv4Class cmdletOutput[]
);

Parameters

ComputerName [in]

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

Name [in]

Name(s) of the class to be deleted.

Type [in]

Type of the class being deleted. Valid values for this parameter are Vendor and User.

Vendor ("Vendor")

User ("User")

PassThru [in]

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

cmdletOutput [out]

An embedded instance of a DhcpServerv4Class 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_DhcpServerv4Class