Last active
June 23, 2026 13:34
-
-
Save EdoardoVignati/4b18f0ac458555bf2a42a11da87f5fcf to your computer and use it in GitHub Desktop.
Enable/Disable ping/firewall
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
| New-NetFirewallRule -DisplayName "Allow ICMPv4-In" -Protocol ICMPv4 -IcmpType 8 -Direction Inbound -Action Allow | |
| Remove-NetFirewallRule -DisplayName "Allow ICMPv4-In" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment