SetByCommonOptions method of the PS_DhcpServerv6OptionValue class

Sets an IPv6 option value at the Server, Scope or Reservation Level. Any previously set option value(s) for the specified option id are discarded.

Syntax

uint32 SetByCommonOptions(
  [in]  boolean                 PassThru,
  [in]  boolean                 Force,
  [in]  string                  Prefix,
  [in]  string                  UserClass,
  [in]  string                  DnsServer[],
  [in]  string                  DomainSearchList[],
  [in]  uint32                  InfoRefreshTime,
  [in]  string                  ComputerName,
  [in]  string                  ReservedIP,
  [out] DhcpServerv6OptionValue cmdletOutput[]
);

Parameters

PassThru [in]

If this parameter is specified, the cmdlet return the PowerShell objects which are deleted.

Force [in]

If specified the DNS server validation will be skipped. This is applicable only if the DNS Server option value is being set.

Prefix [in]

IPv6 subnet prefix of the scope on which the option value is to be set.

UserClass [in]

If specified, sets the option value for the specified user class

DnsServer [in]

Value(s) for the DNS server option.

DomainSearchList [in]

Value(s) for the Domain Search List option.

InfoRefreshTime [in]

Value for the information refresh option.

ComputerName [in]

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

ReservedIP [in]

IPv6 address of the reservation for which the option value is to be set.

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