https://www.petervanderwoude.nl/post/quick-tip-working-with-the-device-enrollment-manager-and-automatic-enrollment/
Quick tip: Working with the device enrollment manager and automatic enrollment