使用中Active

Active 指定是否FirewallGroup作用中。Active specifies whether a FirewallGroup is active.

Values

truetrue

指定作用中的 Windows 防火牆群組。Specifies that a Windows Firewall group is active.

falsefalse

指定的 Windows 防火牆群組不是作用中。Specifies that a Windows Firewall group is not active. 這是預設值。This is the default value.

父階層Parent Hierarchy

Networking-MPSSVC-Svc | FirewallGroups | FirewallGroup | ActiveNetworking-MPSSVC-Svc | FirewallGroups | FirewallGroup | Active

有效的設定階段Valid Configuration Passes

特製化specialize

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱網路功能-MPSSVC-SvcFor a list of the supported Windows editions and architectures that this component supports, see Networking-MPSSVC-Svc.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定 Windows 防火牆群組。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>

FirewallGroupFirewallGroup