Get Power From Light Switch

You just want to put power to the switch then onto a light.
Get power from light switch. If power comes into the switch box first the neutral white line from the service panel and the white line that leads to the light are spliced together. Once the power source has been located a cable will need to be installed from that location to the location of the new light switch. The hot black wire from the power source travels through the switch and from there to the light. In this application the gfci outlet has the power entering the line side and extends through the gfci outlet and is fed out to the circuit from the load side of the gfci outlet.
The switch serves to cut the power from reaching the light switch. You do not want the switch to control the outlet. The switch will pass the electricity from the panel to a light or ceiling fan whenever the light switch. Run 14 2 with ground sheathed electrical cable from.
Turn the power off at the breaker. If the power comes to the light outlet first and then goes to the switch then this can be done fairly easily as long as the outlet is accessible isn t too full of wires already because the unswitched power is available as well as the switched wire that is connected to the light. The white or neutral wire bypasses the switch and goes straight to your lights. The ground wire sometimes in a green jacket should be connected to your switch and to your lights.
Next the wiring may extend out to the light switch where only the black power wire is connected through the switch and the white neutral wires are spliced together. More about electrical wiring for switches for more information about light switch wiring. A typical source of power would be from an existing wall outlet in the same area or room. Flipping the switch interrupts the flow of electricity to the light turning it off and on.