Dos command for wol (wake on lan) and sol (sleep on lan)

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Haris1977
Posts: 16
Joined: 23 Sep 2014 03:48

Dos command for wol (wake on lan) and sol (sleep on lan)

#1 Post by Haris1977 » 23 Sep 2014 14:21

Greetings

I am trying to wake my remote pc with a dos command/batch file. I am also trying to put it to sleep through an other command.

Suppossing my pc's ip is 192.168.1.110 and its mac is 00:1E:33:0B:3B:03 anyone knows what those 2 commands are?

Thanks!

ShadowThief
Expert
Posts: 1160
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: Dos commant for wol (wake on lan) and sol (sleep on lan)

#2 Post by ShadowThief » 23 Sep 2014 18:02

Google is suggesting that you're almost certainly going to end up using a third party application.

Also, it looks like there are a few things you can do via Powershell, but I can't find anything in batch.

Haris1977
Posts: 16
Joined: 23 Sep 2014 03:48

Re: Dos commant for wol (wake on lan) and sol (sleep on lan)

#3 Post by Haris1977 » 24 Sep 2014 06:16

Thanks :mrgreen:


btk
Posts: 13
Joined: 17 Apr 2014 21:51

Re: Dos command for wol (wake on lan) and sol (sleep on lan)

#5 Post by btk » 25 Sep 2014 08:16

I have used, in command line.
http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx
In sintax command line.
wolcmd MacAddress Ip Mask 7
7 is magic pack for ON computer.

For shutdown the remote computer have use, RoboTask in listenner command shutdown.

Post Reply