Remove the husk, silk, and stem end from your ears of corn.
Pour 1 cup of water into the bottom of the pot, put the trivet in the pot. Place your cleaned fresh corn on the cob in the pot.You can lay it down, stand it up, or if you have large ears of corn you can break them in half before placing them in the pot.
Put the lid on the pot and lock the pressure valve to "seal".Set the pot to cook on high pressure for 2 minutes.
Do a quick release of pressure.
Remove the corn from the Instant Pot and serve with butter and salt.
Fit as many ears of corn that will fit in your pot, amount of cook time will not change if you have more corn in the pot.