windows:shell_commands:netsh

Differences

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


windows:shell_commands:netsh [2019/10/31 09:06] (current) – created - external edit 127.0.0.1
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**