Eureka Moment Wiki

One eureka moment at the time

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

Discussion

Enter your comment:
Q F O L E
 
windows/shell_commands/netsh.txt · Last modified: 2019/10/31 09:06 (external edit)