This command unlocks (adds to your target's spell list) the spell with the specified ID. Use 'player.addspell' to add a spell to your own character's spell list.
addspell [spell id] Target Command
Spell ID | The ID of the spell you wish to unlock. |
addspell 0006D22C
Banish Daedra has a spell ID of 0006D22C. The above command would add Banish Daedra to your target's spell list.
player.addspell 0007E8E4
Blizzard has a spell ID of 0007E8E4. As this console command uses the prefix 'player.', Blizzard would be added to your character's spell list.