Share via


Remove method of the PS_DhcpServerv6OptionValue class

Deletes one or more DHCPv6 option values set at the reservation level, scope level or server level, either for the standard IPv6 options or for a specified vendor class.

Syntax

uint32 Remove(
  [in]  string                  ComputerName,
  [in]  string                  Prefix,
  [in]  string                  ReservedIP,
  [in]  uint32                  OptionId[],
  [in]  boolean                 PassThru,
  [in]  string                  VendorClass,
  [in]  string                  UserClass,
  [out] DhcpServerv6OptionValue cmdletOutput[]
);

Parameters

ComputerName [in]

Specifies the name of the target server to which you want to migrate data. The target server must be in the same subnet as the source server.

Prefix [in]

The IPv6 subnet prefix of the scope from which the option value(s) are to be deleted.

ReservedIP [in]

IPv6 address of the reservation from which the option value(s) are to be deleted.

OptionId [in]

Numeric identifier(s) of the option(s) which are to be deleted.

PassThru [in]

Passes the object created by this cmdlet through the pipeline. By default, this cmdlet does not pass any objects through the pipeline.

VendorClass [in]

If specified, option values only for the specified vendor class are deleted.

UserClass [in]

If specified, option values only for the specified user class are deleted.

cmdletOutput [out]

An embedded instance of the DhcpServerv6OptionValue 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_DhcpServerv6OptionValue