Whole-home generators are built to withstand various weather conditions. Portable generators should never be used indoors or in enclosed spaces, even during bad weather, due to the risk of carbon monoxide poisoning. They should be placed in a well-ventilated area protected from direct exposure to rain or snow.