From 368acad09ee6e3eda8e5a7deaa1a04b6dbbc314a Mon Sep 17 00:00:00 2001 From: Kirill Nikolaev Date: Tue, 5 Sep 2017 18:30:38 +0300 Subject: [PATCH] Clarifies "New-NetFirewallRule -Enabled" parameter behavior. --- docset/windows/netsecurity/new-netfirewallrule.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docset/windows/netsecurity/new-netfirewallrule.md b/docset/windows/netsecurity/new-netfirewallrule.md index 14097a7839..62160d3ef2 100644 --- a/docset/windows/netsecurity/new-netfirewallrule.md +++ b/docset/windows/netsecurity/new-netfirewallrule.md @@ -323,6 +323,9 @@ The acceptable values for this parameter are: - True: Specifies the rule is currently enabled. - False: Specifies the rule is currently disabled. + +Note, that the type of this parameter is not boolean, therefore `$true` and `$false` variables are not acceptable values here. Use "True" and "False" text strings instead. + A disabled rule will not actively modify computer behavior, but the management construct still exists on the computer so it can be re-enabled. ```yaml @@ -333,7 +336,7 @@ Accepted values: True, False Required: False Position: Named -Default value: None +Default value: True Accept pipeline input: False Accept wildcard characters: False ```