wh123wh123 当前离线
六级士官
newswan 当前离线
上尉
New-NetFirewallRule -DisplayName "aaa" -Program "notepad.exe" -Action Allow do { Enable-NetFirewallRule -DisplayName "aaa" start-sleep 5 disable-NetFirewallRule -DisplayName "aaa" start-sleep 8 } while {$true}复制代码
TOP
netsh advfirewall set domainprofile firewallpolicy blockinbound,AllowOutbound netsh advfirewall set privateprofile firewallpolicy blockinbound,AllowOutbound netsh advfirewall set publicprofile firewallpolicy blockinbound,AllowOutbound复制代码