code: def interfaces_names():
      '''
      Return a list of all the interfaces names
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' network.interfaces_names
      '''
  
      ret = []
      with salt.utils.winapi.Com():
          c = wmi.WMI()
          for iface in c.Win32_NetworkAdapter(NetEnabled=True):
              ret.append(iface.NetConnectionID)
      return ref interfaces_names():
      '''
      Return a list of all the interfaces names
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' network.interfaces_names
      '''
  
      ret = []
      with salt.utils.winapi.Com():
          c = wmi.WMI()
          for iface in c.Win32_NetworkAdapter(NetEnabled=True):
              ret.append(iface.NetConnectionID)
      return ret
docs: Return a list of all the interfaces names
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' network.interfaces_names