code: def get_route(ip):
      '''
      Return routing information for given destination ip
  
      .. versionadded:: 2016.11.5
  
      CLI Example::
  
          salt '*' network.get_route 10.10.10.10
      '''
      cmd = 'Find-NetRoute -RemoteIPAddress {0}'.format(ip)
      out = __salt__['cmd.run'](cmd, shell='powershell', python_shell=True)
      regexp = re.compile(
          r"^IPAddress\s+:\s(?P<source>[\d\.:]+)?.*"
          r"^InterfaceAlias\s+:\s(?P<interface>[\w\.\:\-\ ]+)?.*"
          r"^NextHop\s+:\s(?P<gateway>[\d\.:]+)",
          flags=re.MULTILINE | re.DOTALL
      )
      m = regexp.search(out)
      ret = {
          'destination': ip,
          'gateway': m.group('gateway'),
          'interface': m.group('interface'),
          'source': m.group('source')
      }
  
      return ref get_route(ip):
      '''
      Return routing information for given destination ip
  
      .. versionadded:: 2016.11.5
  
      CLI Example::
  
          salt '*' network.get_route 10.10.10.10
      '''
      cmd = 'Find-NetRoute -RemoteIPAddress {0}'.format(ip)
      out = __salt__['cmd.run'](cmd, shell='powershell', python_shell=True)
      regexp = re.compile(
          r"^IPAddress\s+:\s(?P<source>[\d\.:]+)?.*"
          r"^InterfaceAlias\s+:\s(?P<interface>[\w\.\:\-\ ]+)?.*"
          r"^NextHop\s+:\s(?P<gateway>[\d\.:]+)",
          flags=re.MULTILINE | re.DOTALL
      )
      m = regexp.search(out)
      ret = {
          'destination': ip,
          'gateway': m.group('gateway'),
          'interface': m.group('interface'),
          'source': m.group('source')
      }
  
      return ret
docs: Return routing information for given destination ip
  
      .. versionadded:: 2016.11.5
  
      CLI Example::
  
          salt '*' network.get_route 10.10.10.10