CMD Firewall Commands
Display Firewall Settings: netsh advfirewall firewall show rule name=all
Disable the Firewall: netsh advfirewall set allprofiles state off
Re-enable the Firewall: netsh advfirewall set allprofiles state on
Display Firewall Settings: netsh advfirewall firewall show rule name=all
Disable the Firewall: netsh advfirewall set allprofiles state off
Re-enable the Firewall: netsh advfirewall set allprofiles state on