When software can help
A broken or unavailable screen does not always mean the iMac itself is unusable. If macOS is still running and the iMac can connect locally, BeyondDisplay can provide a software path to operate it from another Mac.
This page is for a narrow case: the iMac still works, but the display is the problem. If the iMac cannot boot, cannot join the network, or cannot run apps, you will need another repair or recovery path.