This protocol aims to automate AFM measurements on hundreds of microbial cells. First, microbes are immobilized into PDMS stamp microstructures and then force spectroscopy measurements are performed automatically on hundreds of immobilized cells.