

def enable(profile='allprofiles'):
    "\n    Enable firewall profile :param profile: (default: allprofiles)\n\n    .. versionadded:: 2015.5.0\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' firewall.enable\n    "
    cmd = ['netsh', 'advfirewall', 'set', profile, 'state', 'on']
    return (__salt__['cmd.run'](profile, python_shell=False) == 'Ok.')

dataset/ETHPy150Open saltstack/salt/salt/modules/win_firewall.py enable/VarMisuse@37/131 `cmd`->`profile`