Partager via


Key

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

Key specifies a unique key for IpAddress. Name-server priority is based on the key of the IP address, with higher priority given to lower keys (lexicographically).

Note

  • This element does not appear in the Properties pane of Windows® System Image Manager (Windows SIM) until you add IpAddress to the answer file.

  • The value for Key is added to the answer file as an attribute of the IpAddress element. The attribute wcm:keyValue is used to identify each unique IP address. For example, you can specify three different IP addresses by using the Key values of IpAddress1, IpAddress2, and IpAddress3.

  • Values

    Key

    Specifies a unique key for the IP address. Key is a string.

    Valid Passes

    specialize

    Parent Hierarchy

    Microsoft-Windows-NetBT | Interfaces | Interface | NameServerList | IpAddress | Key

    Applies To

    For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-NetBT.

    XML Example

    The following XML output shows how to configure Microsoft-Windows-NetBT.

    <Interfaces>
    
     <Interface wcm:action="add">
          <NameServerList>
             <IpAddress wcm:action="add" wcm:keyValue="IpAddress1">123.45.67.89</IpAddress>
             <IpAddress wcm:action="add" wcm:keyValue="IpAddress2">56.78.90.123</IpAddress>
           </NameServerList>
           <NetbiosOptions>2</NetbiosOptions>
           <Identifier>Local Area Connection</Identifier>
       </Interface>
    </Interfaces>
    

    See Also

    Concepts

    IpAddress