No disagreement with the preceding posts.
WOL is problematic.
And although I am not sure about your full situation with respect to environment and requirements you may be able to do something via Powershell.
If the WOL requirement is a serious need and frequently needed then there are options available.
https://powershell.one/code/11.html
Invoke-WakeOnLan cmdlet
Note the "one - liner" Sending Magic Packet
I am a beginner Powershell person and I have not (full disclosure) experimented with the cmdlet to determine if and how well it actually works.
Most likely easily tested to find out and perhaps work out any issues. Curious to see if the Invoke would work for the "thin clients" per
@SamirD
(May be actually quite viable despite the above noted "mess" that Microsoft has made of such things.)
I did note several other links that likewise applied or used Powershell in some manner using scripts.
That could become cumbersome and even more complicated.