jueves, 1 de diciembre de 2011

WOL by Command Line (wolcmd)

The command line tool wolcmd is run from a dos prompt. The syntax is as follows:
wolcmd [mac address] [ip address] [subnet mask] [port number]
you can also do a local broadcast if you are running on an internal network thus
wolcmd [macaddress]
where mac address is the unique address of the network card. To find the mac address of a card you can either open the computer and read the address on the sticker on the card or much easier is, if you are using TCP/IP, ping the machine from a dos prompt (ping [machine name or ip number] i.e. ping delphi or ping then issue an arp command (arp -a) which will list the ip number and physical address of the card.
If the port number is not specified it will default to port 7
Running from a batch file
Simply add multiple entries thus:
wolcmd 009027a324fe 8900
wolcmd 009024a731da 8900

To run the batch file, say half an hour before everybody gets into work, use the AT command on a Windows NT computer.

The AT command schedules commands and programs to run on a computer at a specified time and date. The Schedule service must be running to use the AT command.

No hay comentarios:

Publicar un comentario

Find out where a user is located in OU structure with a search

It seems that very few people actually know how to find out where a user account is actually located in AD. The easiest way is to start...