Created
April 14, 2023 14:32
-
-
Save ghotz/84d3a1527f8093f6b1cbb4ee57dfe93a to your computer and use it in GitHub Desktop.
Cleanup WSL Firewall Rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-NetFirewallRule | ? {$_.Name -like "HNS Container Networking - DNS (UDP-In)*" } | Remove-NetFirewallRule | |
Get-NetFirewallRule | ? {$_.Name -like "HNS Container Networking - ICS DNS (TCP-In)*" } | Remove-NetFirewallRule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment