NMAP scan for the SMB vulnerability

Does any one know of a way to use nmap other than Asset Discovery?

Seems to be possible based on some quick searches, but looks like you have to use the -script option and find an appropriate nmap script that does the SMB detection to pass to it.

Googling turned up the following: