code: def enable(iface):
      '''
      Enable an interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt -G 'os_family:Windows' ip.enable 'Local Area Connection #2'
      '''
      if is_enabled(iface):
          return True
      cmd = ['netsh', 'interface', 'set', 'interface',
             'name={0}'.format(iface),
             'admin=ENABLED']
      __salt__['cmd.run'](cmd, python_shell=False)
      return is_enabled(ifacef enable(iface):
      '''
      Enable an interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt -G 'os_family:Windows' ip.enable 'Local Area Connection #2'
      '''
      if is_enabled(iface):
          return True
      cmd = ['netsh', 'interface', 'set', 'interface',
             'name={0}'.format(iface),
             'admin=ENABLED']
      __salt__['cmd.run'](cmd, python_shell=False)
      return is_enabled(iface)
docs: Enable an interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt -G 'os_family:Windows' ip.enable 'Local Area Connection #2'