User Tools

Site Tools


windows:shell_commands:netsh

Windows netsh commands

Firewall

  • To Turn Off: NetSh Advfirewall set allprofiles state off
  • To Turn On: NetSh Advfirewall set allrprofiles state on
  • To check the status of Windows Firewall: Netsh Advfirewall show allprofiles

Add IPv4

  • netsh interface ipv4 set address “Ethernet1” static 192.168.1.100 255.255.255.0 none
windows/shell_commands/netsh.txt · Last modified: 2017/08/10 11:00 (external edit)