Set method of the PS_DhcpServerv4OptionDefinition class

Modifies the properties of an existing IPv4 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] DhcpServerv4OptionDefinition 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 definition to be modified

Name [in]

New name to be set for the option definition

Description [in]

Description string to be set for the option definition

VendorClass [in]

If specified, properties of the option definition for the specified vendor class are modified

DefaultValue [in]

Default value to be set for the option definition

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv4OptionDefinition 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_DhcpServerv4OptionDefinition