Поделиться через


Set method of the PS_DhcpServerv6OptionDefinition class

Modifies the properties of an existing DHCPv6 option definition.

Syntax

uint32 Set(
  [in]  string                       ComputerName,
  [in]  uint32                       OptionId,
  [in]  string                       Name,
  [in]  string                       Description,
  [in]  string                       VendorClass,
  [in]  string                       DefaultValue[],
  [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]

Numeric identifier of the option whose definition is to be modified.

Name [in]

New name for the option.

Description [in]

Description string of the option definition.

VendorClass [in]

If specified, the option definition only for the specified vendor class is modified.

DefaultValue [in]

Default value of the option

PassThru [in]

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

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