def enable(profile='allprofiles'):
    cmd = ['netsh', 'advfirewall', 'set', profile, 'state', 'on']
    return __salt__['cmd.run'](cmd, python_shell=False) == 'Ok.'
Enable firewall profile :param profile: (default: allprofiles)
dataset/ETHPy150Open saltstack/salt/salt/modules/win_firewall.py/enable