This command adds the perk with the specified ID to your target. Use 'player.addperk' to add a perk to your own character.
addperk [perk id] Target Command
Perk ID | The ID of the perk you wish to add to either your target or your character. |
addperk 000BE125
Apprentice Locks has a perk ID of 000BE125. This command would add the Apprentice Locks to your current target.
player.addperk 000BE125
This console command is similar to the first example. Instead of adding Apprentice Locks to your target, this command would add the perk to your own character (as the command 'player.addperk' is used).