Adding an overhead fixture where there wasn't one before.
My wife and I just moved into our new house a few months ago and we're looking to add a ceiling fan in our master bedroom. The problem is that there isn't a preexisting fixture to replace therefore I need to add power to a box so I can hang the fan.
I've been up in the attic (I was up there bracing two other boxes that I added fans to) and I know that I have the room to access the location desired for the new fan as well as the wall that has the switch location. Currently, the switch operates the top plugs on two wall outlets.
I would prefer to get both of those wall outlets completely hardwired and always on and have the switch operate only the fan and light (separately if possible), but I would not be opposed to adding a second switch and leaving the top plug on the wall outlets connected to a switch.
This is what I need help with. I'm pretty handy with things and I know that I have no problem installing a new box and giving it adequate support, but since I have limited electrical experience (other than replacing fixtures) I could use some advice on how to get everything wired appropriately.
Any and all help will be appreciated. Thank you in advance.