bugfix code error in win_firewall

This commit is contained in:
Trond Hindenes 2016-06-23 08:45:29 +02:00
parent 709114d55f
commit 2be4e15a0a

View file

@ -230,7 +230,7 @@ $fwsettings.Add("Rule Name", $name)
#$fwsettings.Add("displayname", $name) #$fwsettings.Add("displayname", $name)
$state = $state.ToString().ToLower() $state = $state.ToString().ToLower()
If ($state -eq "present")){ If ($state -eq "present"){
$fwsettings.Add("Direction", $direction) $fwsettings.Add("Direction", $direction)
$fwsettings.Add("Action", $action) $fwsettings.Add("Action", $action)
}; };