Skip to content

Commit e75b956

Browse files
Merge pull request MicrosoftDocs#92 from exchange12rocks/patch-1
Clarifies "New-NetFirewallRule -Enabled" parameter behavior.
2 parents 96f10fc + 368acad commit e75b956

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docset/windows/netsecurity/new-netfirewallrule.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ The acceptable values for this parameter are:
323323
324324
- True: Specifies the rule is currently enabled.
325325
- False: Specifies the rule is currently disabled.
326+
327+
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.
328+
326329
A disabled rule will not actively modify computer behavior, but the management construct still exists on the computer so it can be re-enabled.
327330

328331
```yaml
@@ -333,7 +336,7 @@ Accepted values: True, False
333336
334337
Required: False
335338
Position: Named
336-
Default value: None
339+
Default value: True
337340
Accept pipeline input: False
338341
Accept wildcard characters: False
339342
```

0 commit comments

Comments
 (0)