A transfer switch allows you to power any of these devices without using extension cords. Expect to pay $500 to $1,500 for the switch, which normally takes less than a day to install.