OptiHackHackintosh guide for Dell OptiPlex 7020/9020
Running macOS on Haswell OptiPlex desktops with OpenCore.
Running macOS on Haswell OptiPlex desktops with OpenCore.

This guide assumes macOS will be the only OS and any disk installed in the system can be wiped. Disconnect any Windows and Linux disks before installing to prevent any issues. You can re-connect them post install and then use the BIOS boot menu (F12) to multiboot.
This guide is made for fun and my own edutainment.