Adding an outlet to an existing light switch: Can the outlet be switched along with the light?
Yes, that can be done.


Connect the neutral from the light, and the neutral from the receptacle to the feeder neutral.
Connect the feeder hot to one side of the switch.
Connect together a wire from the other side of the switch, the hot to the light, and a wire to the hot side of the receptacle.
Connect all grounding conductors.


If you're a more visual learner, search google for "switched receptacle wiring".