Your command needs to look something like this:
nmap -Pn -sVC -p- (IP) -o scan
-Pn skips the availability check per ping
-sVC performs a version and a script scan so you get more information
-p- scans ALL ports
-o puts out a file called scan.nmap
If you want you can share that output afterwards for further info.