core windows firewall

netstat -q
 
 
NetFirewallRule -Name Deny -DisplayName Deny -Action Block -Direction Inboun -Protocol TCP -LocalPort 5985,22 -RemoteAddress 10.22.30.0/24