diff --git a/windows/win_firewall_rule.ps1 b/windows/win_firewall_rule.ps1 index ae60bcc4aa3..31aa2741cdb 100644 --- a/windows/win_firewall_rule.ps1 +++ b/windows/win_firewall_rule.ps1 @@ -230,7 +230,7 @@ $fwsettings.Add("Rule Name", $name) #$fwsettings.Add("displayname", $name) $state = $state.ToString().ToLower() -If ($state -eq "present")){ +If ($state -eq "present"){ $fwsettings.Add("Direction", $direction) $fwsettings.Add("Action", $action) };