Бонусов: 10

To ping (ICMPv4 Echo Request) on all profiles:

netsh advfirewall firewall delete rule name="ICMP Allow Ping" Open PowerShell as Administrator :

netsh advfirewall firewall add rule name="ICMP Allow Ping Private" protocol=icmpv4:8,any dir=in action=allow profile=private To the rule later:

netsh advfirewall firewall add rule name="ICMP Allow Ping" protocol=icmpv4:8,any dir=in action=allow To to only Private profile:

New-NetFirewallRule -DisplayName "Allow Ping" -Protocol ICMPv4 -Direction Inbound -Action Allow For restricted scope (local subnet only):


.




Cвернуть

Выбрать язык

RU Russian
US US
KZ Kazakh
KG Kyrgyz Cyrillic
UA Ukrainian
UZ Uzbek Cyrillic
AM Armenian Eastern
BY Belarusian