Is it possible to initiate a WOL via the API and Python? I found many ways to do it locally, but we operate remotely and since it operate on Layer 2 I'm looking for a way to kick it off using the switch. It's built into the console, but I need to be able to do it using a script or some other method.
Solved! Go to Solution.
To the best of my knowledge this can not be done via the API.
To the best of my knowledge this can not be done via the API.
Not sure exactly how you are using this, but usually your can schedule a WOL from a server or from the endpoint via Powershell or something you are comfortable with.
It's an odd situation, I won't go into details but needless to say we need to keep 2 desktops up. People are turning them off and while I said a GPO removing the power button function and the software power button would likely be the best option he said to see if I could use WOL instead.
Oy, that sounds frustrating. Too bad you can't lock them in a cage. Perhaps one that provides an incentive to not touch it. (Such as some nice punky spikes, or it makes a squeaky chalkboard sound no matter what touches it.)
@Nash I've requested we just buy a dedicated box to run these things from. These remote locations are small, but even a used Dell r620 can be found cheap. I'll settle for a run of the mill PC with 10 Pro if I'm being honest. Small server offers a lot more options though. Unfortunately the cost of a Server OS is the real cost issue. Maybe it can run 10 Pro instead but not sure. Either way it's back to the drawing board and setting up a GPO I guess
A Raspberry Pi 4 is considerably cheaper...
@PhilipDAth You would be correct, but we are not allowed to use Linux. Plus I'd like to throw some other goodies on it since it's in place.