How to Remote Power Cycle IP Cameras? Ethernet switching device?

My remote location IP cameras keep dropping out, both wired and wifi.
Is there a remote type switch I could operate from another location which would power cycle
the cameras, and/or the modem to bring them back up?

I found this device, wondering if it’s the best solution or if there is a better one.
This is not a sponsored or monetized link:
https://www.amazon.com/MSNSwitch-Internet-Enabled-Remote-Switch/dp/B081TKJJBS/ref=sr_1_2_sspa?dchild=1&keywords=remote+power+switch&qid=1617483873&sr=8-2-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEzR1k5TU9KRjMyVUhKJmVuY3J5cHRlZElkPUEwNTE0NzUwM0Y1WlNSRE02Mk5YRSZlbmNyeXB0ZWRBZElkPUEwMzMzNzQ5MU5BWTMxWFAxRUNQRiZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=

image

Thanks!

I can’t vouch for particular brands or models of IP power switch, the model you linked should do the job though I would imagine. If you also have an alarm panel with automation and want to keep it within the system you could use a Z-wave plug in switch as well.