Question: While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. 

Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.

Answer: 
You can get the skill up to 100, make it legendary to make the skill 15 again. The perks you dumped into it will be removed and you can reuse them
For PC.

An easy solution related to all perks, so you can basically recreate your char:

This mod will remove all perks and add the right ammount removed as perk points:  

[Ishs Respec Mod](http://www.nexusmods.com/skyrim/mods/16471/?) 

If there remain any perks after the above mod being used, use the console to remove them (as explained by [Arkive post](https://gaming.stackexchange.com/a/35140/45976), you can even create a bat file to make it easier later on) and use this mod:  

[Perk Point Potion](http://www.nexusmods.com/skyrim/mods/10836/?)  

to get the right ammount of perk points back.