Setting Windows server firewall by powershell

PS C:UsersMartin> New-NetFirewallRule -DisplayName "Allow ICMPV4-In" -Protocol ICMPV4
原文地址:https://www.cnblogs.com/yuchsheng/p/13891507.html