Open
Description
[Enter feedback here]
The example:
Enable-NetFirewallRule -DisplayName "Network Discovery"
Returns an error that no rules are found with that display name.
Also, just enabling the firewall rules is not enough to allow network discovery. You still have to go through the GUI and enable network discovery from the advanced options page. The state of that radio button does not change with any powershell command I can find.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 81942d4b-e7ac-09e2-ec00-61c08052307d
- Version Independent ID: 4786700d-1e88-be2e-6397-0678ca4402bd
- Content: Enable-NetFirewallRule (NetSecurity)
- Content Source: docset/winserver2022-ps/netsecurity/Enable-NetFirewallRule.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend