How to stop all cassini instances?
This Visual Studio extension provides a quick way to kill all instances of Cassini (via a shortcut key)
EDIT :
If you want to do it via command line only, then you can use the taskkill
command. An example:
taskkill /IM WebDev.WebServer /F
See this page for more examples, and an explination of the command. You may need to specify WebDev.WebServer40 for the .Net 4 web server