Start the Firewall service

Microsoft.Windows.Server.10.0.OperatingSystem.StartFirewallService.Task (Task)

Start the Firewall service on the server.

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout600

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.Server.StartServiceViaWMI.ModuleType.PowerShell Default

Source Code:

<Task ID="Microsoft.Windows.Server.10.0.OperatingSystem.StartFirewallService.Task" Accessibility="Public" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" Timeout="600" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="WindowsServer!Microsoft.Windows.Server.StartServiceViaWMI.ModuleType.PowerShell">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>MpsSvc</ServiceName>
</WriteAction>
</Task>