Use rodent exclusion materials like heavy-gauge wire screening to cover holes, metal mesh to stuff into holes around pipes, and expanding foam sealant to spray overtop of metal mesh and fill other gaps and cracks. Seal all potential entry holes or gaps in walls, foundations, sheds, crawl spaces and under porches.