Skip to content

Instantly share code, notes, and snippets.

@Depicus
Created February 15, 2015 22:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Depicus/9f80079d7c6713203d0a to your computer and use it in GitHub Desktop.
Save Depicus/9f80079d7c6713203d0a to your computer and use it in GitHub Desktop.
<%
if Request.Form("MacAddress") <> "" then
set WakeOnLan = server.createobject("DigitalWol.Wol")
WakeOnLan.TheMacAddress(Request.Form("MacAddress"))
WakeOnLan.TheIpNumber(Request.Form("IpNumber"))
WakeOnLan.TheSubnetMask(Request.Form("SubnetMask"))
WakeOnLan.ThePortNumber(Request.Form("PortNumber"))
WakeOnLan.WakeMeUp
end if
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment