Nmap with MSF

Metasploit integrates Nmap with db_nmap, which saves the results in its database for later review with hosts and services.
txt
msf6 > db_nmap -sV -sS 10.10.10.8

[*] Nmap: PORT   STATE SERVICE VERSION
[*] Nmap: 80/TCP open  http    HttpFileServer httpd 2.3
[*] Nmap: Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows

msf6 > hosts
msf6 > services

Services
========
host         port   proto  name          state  info
----         ----   -----  ----          -----  ----
10.10.10.8   80     tcp    http          open   HttpFileServer httpd 2.3
10.10.10.40  445    tcp    microsoft-ds  open   Microsoft Windows 7 - 10 microsoft-ds