Re: Long ago.
except I had one of these (or rather the current model at the time) :-
https://dlidirect.com/products/web-power-switch-7
Yup - before the Apocalypse That Wasn't[1], I had a version of that installed in remote offices that allowed telnet access and controlled power and serial port access (I was herding Solaris boxes at the time and having serial access could be quite important as one of the failure modes would kill all network access but leave the box still running..)
[1] Y2K didn't represent the end of technology as we know it only because we did a lot of work to prevent it..