Console Commands are a debugging tool available to PC players, adding a wide range of functionality to the game. On American English keyboards, the tilde key (~) will toggle the console screen, but on British English keyboards, that key is the grave key ( ` ).
Marriage is a gameplay element in The Elder Scrolls V: Skyrim. After obtaining the Amulet of Mara, the Dragonborn has the option to engage in marriage with an eligible NPC regardless of either party's gender in the potential marriage.
This page lists all characters in The Elder Scrolls V: Skyrim. To place a new copy of an NPC at your current location, type the following in the console: player.placeatme <BaseID> <#>. To move to an NPC, type the following in the console: player.moveto <refID>.
Only certain NPCs can become your spouse, and I'm not sure if console commands can force this. Marriage in Skyrim is very overrated.