Windows/Ping

From Omnia
Revision as of 22:15, 7 July 2026 by Kenneth (talk | contribs) (Created page with "== Firewall Allow Ping == Add: netsh advfirewall firewall add rule name="Allow ICMPv4 Ping" protocol=icmpv4:8,any dir=in action=allow Verify netsh advfirewall firewall show rule name="Allow ICMPv4 Ping" Remove: netsh advfirewall firewall delete rule name="Allow ICMPv4 Ping" == Powershell Version == New-NetFirewallRule -DisplayName "Allow ICMPv4 Ping" ` -Direction Inbound ` -Protocol ICMPv4 ` -IcmpType 8 ` -Action Allow")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Firewall Allow Ping

Add:

netsh advfirewall firewall add rule name="Allow ICMPv4 Ping" protocol=icmpv4:8,any dir=in action=allow

Verify

netsh advfirewall firewall show rule name="Allow ICMPv4 Ping"

Remove:

netsh advfirewall firewall delete rule name="Allow ICMPv4 Ping"

Powershell Version

New-NetFirewallRule -DisplayName "Allow ICMPv4 Ping" `
   -Direction Inbound `
   -Protocol ICMPv4 `
   -IcmpType 8 `
   -Action Allow