Share via


Add method of the PS_DhcpServerv6Class class

Adds an IPv6 vendor or user class to the DHCP Server.

Syntax

uint32 Add(
  [in]  string            ComputerName,
  [in]  string            Description,
  [in]  uint32            VendorId,
  [in]  string            Data,
  [in]  string            Type,
  [in]  string            Name,
  [in]  boolean           PassThru,
  [out] DhcpServerv6Class cmdletOutput
);

Parameters

ComputerName [in]

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

Description [in]

Description string to be set on the vendor or user class being added

VendorId [in]

Enterprise number of the vendor class

Data [in]

Data for the specified vendor or user class. This is the actual value expected to be present in the request from the client belonging to this vendor or user class.

Type [in]

Type of the class. Valid values are Vendor, User.

Vendor ("Vendor")

User ("User")

Name [in]

Name of the vendor or user class being added

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv6Class 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_DhcpServerv6Class