Key

Key specifies the unique string to identify the name of the Firewall Group.

The value for Key is added to the answer file as an attribute of the FirewallGroup element. The attribute wcm:keyValue is used to identify multiple list item types of FirewallGroup. For example, you can specify three different firewall groups by using the Key value of 1, 2, and 3.

Values

Key

Specifies the unique string used to identify the firewall group. Key is a string. For example, you can specify the value "RemoteDesktop", "1", or another unique identifier.

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

Parent Hierarchy

Networking-MPSSVC-Svc | FirewallGroups | FirewallGroup | Key

Valid Passes

specialize

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Networking-MPSSVC-Svc.

XML Example

The following XML output shows how to set Windows Firewall groups.

<FirewallGroups>
      <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
      <Active>true</Active> 
      <Group>Remote Desktop</Group> 
      <Profile>all</Profile> 
   </FirewallGroup>
</FirewallGroups>

See Also

Concepts

FirewallGroup