Disable Firewall from Command Line
Disabling with administrator privileges:
netsh advfirewall set allprofiles state off
Enabling with administrator privileges:
netsh advfirewall set allprofiles state on
Checking the status of the firewalls:
netsh advfirewall show all