One is to sweep the snake into a bucket or empty garbage can. Another method is to pick the snake up with a rake or broom handle and place it in a bucket or empty trash can. Then take it outside and let it go at a reasonable distance from the building, releasing it into a forest or field. There is no need to kill the snake. In fact, it is against state law to intentionally kill native wildlife without a permit.
Snakes are an integral part of the environment.
As predators, they feed on mice, rats, insects and other pest species. They are also prey for hawks, herons, raccoons, and other predators. Snakes are an important part of the food chain. Snake identification can be difficult, so one should use caution when removing the snake. Unless the person is familiar with handling snakes, it is best to pick it up with something other than one's hands.