How Do I Re-Enable Lex in Oblivion for a Thieves Guild Quest?

If you accidentally disabled Lex in The Elder Scrolls: Oblivion and now need him back for a Thieves Guild quest, the fix is done through the console.

Look up his BaseID or FormID (the exact term escapes me), enter it in the console, and then type "enable." That will bring him back into the game so you can continue the quest.