FirewallGroup
FirewallGroup
specifies a Windows Firewall group.
Child Elements
Setting | Description |
---|---|
Active | Specifies whether a Windows Firewall group is active. |
Group | Specifies a Windows Firewall group by its ID. |
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 Configuration 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>@FirewallAPI.dll,-28752</Group>
<Profile>all</Profile>
</FirewallGroup>
</FirewallGroups>
Note
The Group
value must be the Group ID associated with the firewall group you want to reference (for example, the Remote Desktop
group corresponds to the ID @FirewallAPI.dll,-28752
). Group IDs can be obtained using Network Security commands in PowerShell. See the child topic on the Group parameter for more detailed instructions.