Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


windows:shell_commands:netsh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

windows:shell_commands:netsh [2017/08/10 13:00]
windows:shell_commands:netsh [2019/10/31 09:06] (current)
Line 1: Line 1:
 +====== 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**