Share via


Remove method of the PS_DhcpServerv6OptionDefinition class

Deletes one or more IPv4 option definitions from the Server. If VendorClass is specified, only option definitions for the specified vendor class are deleted.

Syntax

uint32 Remove(
  [in]  string                       ComputerName,
  [in]  uint32                       OptionId[],
  [in]  string                       VendorClass,
  [in]  boolean                      Passthru,
  [out] DhcpServerv6OptionDefinition cmdletOutput[]
);

Parameters

ComputerName [in]

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

OptionId [in]

The numeric identifier(s) of the option(s) whose definition needs to be deleted.

VendorClass [in]

If specified, removes option definitions only for the specified vendor class.

Passthru [in]

If this parameter is specified, the cmdlet return the PowerShell objects which are deleted.

cmdletOutput [out]

An embedded instance of the DhcpServerv6OptionDefinition 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_DhcpServerv6OptionDefinition