The hard x-ray scanning microscope at beamline P06 of PETRA III at DESY in Hamburg serves a large user community, from physics, chemistry, and nanotechnology to the bio-medical, materials, environmental, and geosciences. It has been in user operation since 2012, and is mainly based on nanofocusing refractive x-ray lenses. Using refractive optics, nearly gaussian-limited nanobeams in the range from 50 to 100 nm can be generated in the hard x-ray energy range from 8 to 30 keV. The degree of coherence can be traded off against the flux in the nanobeam by a two-stage focusing scheme. We give a brief overview on published results from this instrument and describe its most important components and parameters.