This command clears all spell and poison effects from the target you currently have selected. Use 'player.dispelallspells' to dispel all spells from your own character.
dispelallspells Target Command
player.dispelallspells
The above command would clear all poison and spell effects currently affecting your character.
dispelallspells
This command would remove all poison and spell effects currently affecting your selected target.