You microwave corn on the cob by getting a fresh one and trimming the ends to make sure the corn ears will fit in the microwave. Microwave the corn for two minutes and allow it to sit wrapped up for a minute or so to distribute its heat and continue to cook. Remove the husk and roll in butter and season it while hot with salt and pepper. You can read more at http://www.wikihow.com/Microwave-Corn-on-the-Cob
You can also microwave it with the husks removed. Just wrap the ears in wet paper towels. Corn is one food that is so much easier to prep in a microwave. Just be careful to watch it as it cooks. Overcooking corn (or any food with a high water content) can lead to fire or explosion.