From 97d8273558ebb7b738146d3b678ad3b875509b21 Mon Sep 17 00:00:00 2001 From: Timothy Vandenbrande Date: Tue, 30 Jun 2015 08:49:47 +0200 Subject: [PATCH] windows default to current instead of all --- windows/win_firewall_rule.ps1 | 2 +- windows/win_firewall_rule.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: