diff --git a/windows/win_firewall_rule.ps1 b/windows/win_firewall_rule.ps1 index fcdf34799fc..832d68d8f9c 100644 --- a/windows/win_firewall_rule.ps1 +++ b/windows/win_firewall_rule.ps1 @@ -225,7 +225,7 @@ foreach ($arg in $args){ }; }; -$profile=Get-Attr $params "profile" "all"; +$profile=Get-Attr $params "profile" "current"; if (($profile -ne 'current') -or ($profile -ne 'domain') -or ($profile -ne 'standard') -or ($profile -ne 'all') ) { $misArg+="Profile"; $msg+=@("for the Profile parameter only the values 'current', 'domain', 'standard' or 'all' are allowed"); diff --git a/windows/win_firewall_rule.py b/windows/win_firewall_rule.py index 59e1918ff58..cb167d0f4fa 100644 --- a/windows/win_firewall_rule.py +++ b/windows/win_firewall_rule.py @@ -91,7 +91,7 @@ options: profile: describtion: - the profile this rule applies to - default: all + default: current choices: ['current', 'domain', 'standard', 'all'] force: description: