MacBook or iMac 2015 or Newer (Wilmington)

Hello, generous community.

I need to run Apple Configurator 2
for some of our school's devices,
and an older Mac would do the trick.

It could even have some damage,
and I will make it work with external
peripherals (if broken screen/keyboard).
If battery issues, no problem; it will be a
stationary device.

Thank you!