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