Firewall management

List firewall rules with ICMP in the DisplayName

Get-NetFirewallRule | Where-Object DisplayName -Like "*ICMP*" | Sort-Object Enabled,Name | Format-Table

Enable ICMP Echo Request

Set-NetFirewallRule -DisplayName "File and Printer Sharing (Echo Request - ICMPv4-In)" -enabled True
Set-NetFirewallRule -DisplayName "File and Printer Sharing (Echo Request - ICMPv6-In)" -enabled True

Revision #1
Created 20 November 2023 15:41:12 by bluecrow76
Updated 16 January 2024 16:42:23 by bluecrow76