summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDreamcat4 <dreamcat4@gmail.com>2016-04-20 21:44:29 +0100
committerDreamcat4 <dreamcat4@gmail.com>2016-04-20 21:44:29 +0100
commit9bc12dc9dd72ffde64ab7c1b8b7c1bb2678b814d (patch)
tree88666481e4ff35fcf26e43d676ffa2ec709d3840
parent8734e8f397275c54134e67a2f7ee504e22aebc21 (diff)
downloadansible-modules-extras-9bc12dc9dd72ffde64ab7c1b8b7c1bb2678b814d.tar.gz
win-firewall-rule: temp disable strict-mode for the time being
-rw-r--r--windows/win_firewall_rule.ps13
1 files changed, 3 insertions, 0 deletions
diff --git a/windows/win_firewall_rule.ps1 b/windows/win_firewall_rule.ps1
index 21f96bcf..92d75921 100644
--- a/windows/win_firewall_rule.ps1
+++ b/windows/win_firewall_rule.ps1
@@ -20,6 +20,9 @@
# WANT_JSON
# POWERSHELL_COMMON
+# temporarily disable strictmode, for this module only
+Set-StrictMode -Off
+
function getFirewallRule ($fwsettings) {
try {