My iMac shuts off randomly and will only reboot by removing power cord.
Will shut off randomly and will only reboot by removing power cord. Will not boot using power button. Was able to boot and holding down R to run hardware diagnostics and no problems found. This is on 2017 imac27 in i7
[Re-Titled by Moderator]
iMac 27″ 5K, 12.3