Share via


Set method of the PS_DhcpServerv6Class class

Modifies the properties of an IPv6 vendor or user class on the DHCP Server.

Syntax

uint32 Set(
  [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 class being modified.

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 class.

Type [in]

Type of the class - valid values are Vendor and User.

Vendor ("Vendor")

User ("User")

Name [in]

Name of vendor or user class to be modified.

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