To set the value of an option for the scope. Syntax: set optionvalue user=UserName vendor=VendorName ForceFlag Parameters: ...

To set the value of an option for the scope. 
 
Syntax: 
 
        set optionvalue   [user=UserName] 
        [vendor=VendorName] [ForceFlag]  
 
Parameters: 
 
        OptCode        - The code for the option type whose value is 
                         to be set.  
 
        DataType       - The data type for the option type whose value 
                         is to be set.  
 
        UserName       - To specify either the current default user 
                         class or the class specified as UserName. If 
                         this parameter is used, the user= tag must 
                         be provided.  
 
        VendorName     - To specify either the current default vendor 
                         class or the class specified as 
                         VendorName. If this parameter is used, the 
                         vendor= tag must be provided.  
 
        ForceFlag     - DhcpNoForce/DhcpFullForce  can be specified. 
                         This is specifically for OptCode 023 DNS validation.
                         If DhcpFullForce is specified then DNS addresses are 
                         added in the server even if DNS validation fails. If 
                         DhcpNoForce is specified then DNS addresses are 
                         added only when DNS validation succeeds. 
                         Default value is DhcpNoForce.
 
        OptValue       - The assigned value for the option type 
                         specified in OptCode. If the option type 
                         supports an array containing more than a 
                         single numeric or IPV6 address value, provide 
                         the additional values in order at the end of 
                         the command.  
 
Notes:         Vendor and user classes are supported only for Windows Server 2008. 
               To modify the current defaults for an unspecified class used with 
               this command, use either the Set userclass or 
               Set vendorclass commands.  
 
Example:       set optionvalue 027 IPV6ADDRESS 2089:2e34::1200  
               set optionvalue 027 IPV6ADDRESS vendor=Vendor1 2089:2e34::1256  
 
               The command examples sets the value of option with code 027 
               (Network Information Service (NIS) Servers Option) and of data 
               type IPv6ADDRESS to the values given (2089:2e34::1200) for  
               the current scope. For the second example, the command is 
               further qualified to set the specified value to be 
               applied only for those scope clients that identify 
               themselves as members of the vendor class Vendor1. In 
               order for this example to work, this class must already 
               be defined at the server with the specified option type 
               defined for its use.