Allow Ping ICMP in Powershell Windows 2012

Fire up Powershell and run both command as administrator.
 
 

 
 
 
 
 
Import-Module NetSecurity
New-NetFirewallRule -Name Allow_Ping -DisplayName “Allow Ping”  -Description “Packet Internet Groper ICMPv4” -Protocol ICMPv4 -IcmpType 8 -Enabled True -Profile Any -Action Allow
 
See below:
 powershell_fw_rule
 

Leave a Reply

Your email address will not be published. Required fields are marked *