How to restart the MongoDB service in Windows via command line?

net stop MongoDB && net start MongoDB