Merge pull request #2467 from trondhindenes/win_firewall_bugfix
bugfix code error in win_firewall
This commit is contained in:
commit
dbced2c809
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue