Key

Applies To: Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

Key specifies the name of the port rule used by the cluster. The name is specified as an attribute in the port rule.

Note

  • This setting 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 Portrule element. The attribute wcm:keyValue is used to identify each unique port rule. For example, you can specify three different port rules by using the Key values of Portrule1, Portrule2, and Portrule3.

  • To enable this Network Load Balancing setting, the NetworkLoadBalancingFullServer package must be enabled in the Windows® image you are installing. To do this, use Windows System Image Manager to add the Microsoft-Windows-Foundation-Package to your answer file, and then configure the NetworkLoadBalancingFullServer package to enable it. For more information about adding and configuring packages, see the Windows® Assessment and Deployment (Windows ADK) Technical Reference.

  • Values

    Key

    Specifies the name of the port rule.

    This string type does not support empty elements. Do not create an empty value for this setting.

    Valid Passes

    specialize

    Parent Hierarchy

    Microsoft-Windows-NetworkLoadBalancing-Core | Clusters | Cluster | Portrules | Portrule | Key

    Applies To

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

    XML Example

    The following XML output shows how to specify the name of the port rule used by the cluster as "Portrule1".

    <Portrule wcm:keyValue="Portrule1">
       <VirtualIpAddress>255.255.255.255</VirtualIpAddress>
       <Protocol>TCP</Protocol>
       <StartPort>0</StartPort>
       <EndPort>65535</EndPort>
       <Mode>MultipleHost</Mode>
       <EqualLoad>true</EqualLoad>
       <ClientAffinity>None</ClientAffinity>
    </Portrule>
    

    See Also

    Concepts

    Portrule