Compartilhar via


FirewallGroup

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

FirewallGroup specifies a Windows® Firewall group.

Child Elements

Active

Specifies whether a Windows Firewall group is active.

Group

Specifies a Windows Firewall group name

Key

Specifies a unique name that you can use to identify the Firewall group.

Profile

Specifies a Windows Firewall group profile.

Parent Hierarchy

Networking-MPSSVC-Svc | FirewallGroups | FirewallGroup

Valid Passes

specialize

Applies To

For a 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

FirewallGroups