Using the netsh command to prevent traffic from being passed by the network adapter


You can use netsh command to prevent traffic from being passed by the network adapter. To do that, you can use the Netsh to re-set a different IP address or default gateway , for example, netshell interface ip set address interface_name static ip_address subnet_mask default_gateway metric.