I use this http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx
My asp inventory system writes the neccessary batch file if I want to change the list of affected systems.
What do you all use the schedule WOL. Would like to power up machine overnight to coincide with WSUS updates being installed.
Of course, it has to be free
i use this it works well
WOL uttility - attached file
just use a batch file and set it to run using task schedualer and this is how use set the batch file
Alis_Klar (29th September 2011)
Dragging up an old post but it's going to save writing a new one.
I've got to do this but I need to get lists of MAC addresses for about 10 rooms so am not really wanting to go round and fetch the MACs individually.
I'd like a script to do it on it's own so that if we swap machines out we don't have to edit the script etc, but going from a list of machine names to mac addresses via a script is seemingly quite hard.
Any ideas anyone?
I just use AMD magic packet. Picks up details and WOL.
I've found angry IP scanner which has given me the MAC addresses for the machines I want (I think!) but it's given me them in a hyphenated format when the wol.exe thing I'm using wants them in without hyphens :@ Some funky nonsense with ExHELL coming up I feel.
powdarrmonkey consider yourself PM'd
Assuming you're machines get their IP's from a DHCP server, you should be able to access and export a list of the MAC addresses from there.
If you need to change formats then you could simply use a search / replace in wordpad to change ':' to '-' or remove spaces....
I've produced a script that's just tonnes of the following for MACs for the IT Suites.
Obviously if we get a motherboard swapout (so NIC changes) or new machines etc then we've gotta edit the script...which is a pain.
@tonyd I just said to the rest of the team that we could have just exported the DHCP leases for the MACs (in the correct format aswell) we all just groaned and said "why didn't we think of that." Just not switched on in the head today
There's some stuff here that I used at my last job.
Basically, you give it the name of an OU in active directory and it will find the list of machines under that OU (including any sub-OUs). It then uses DHCPcmd to query the DHCP servers and get the MAC addresses for the appropriate machines.
You need to put dhcpcmd and wolcmd on a server share and define that at the start of the script and you need to add the IP addresses of your DHCP servers in these bits:
- basically, you're querying server at 10.128.0.1 for machines in the subnet starting 10.128.0.0 - change as appropriate, delete any un-needed lines.Code:BuildMacList "10.128.0.1","10.128.0.0" BuildMacList "10.160.0.1","10.160.0.0"
Joedetic (11th November 2008)
Thanks for all the help guys. What it's looking like now is that we're running into problems with one room where there's the odd machine that supports WOL and the rest that don't come on.
The other problem is that the isolators for the IT suites are turned off of an evening so WOL isn't working of a morning without the machines being powered up first :s
I had a look at the AMD magic packet and it doesn't like lots of our kit for some reason so just fails over at the first problem when you generate the list.
There are currently 1 users browsing this thread. (0 members and 1 guests)