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