m1ddy Posted June 19, 2008 Posted June 19, 2008 Hey Guys, 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 Thanks Jon
CESIL Posted June 19, 2008 Posted June 19, 2008 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.
sharkster Posted June 19, 2008 Posted June 19, 2008 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 WOL.exe type-the-mac-adress-herewol.zip 1
Joedetic Posted November 10, 2008 Posted November 10, 2008 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?
Quackers Posted November 10, 2008 Posted November 10, 2008 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? Use the attached file, it will scan the IP range you give it, then you just right click on each PC, show MAC address, Copy and paste to your file. Its what i do.ipscan.zip
powdarrmonkey Posted November 10, 2008 Posted November 10, 2008 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? Joe, PM me. I have some software in development to do this which you're welcome to try out. 1
matt40k Posted November 10, 2008 Posted November 10, 2008 I just use AMD magic packet. Picks up details and WOL.
Joedetic Posted November 10, 2008 Posted November 10, 2008 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
tonyd Posted November 10, 2008 Posted November 10, 2008 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.... 1
Joedetic Posted November 10, 2008 Posted November 10, 2008 I've produced a script that's just tonnes of the following for MACs for the IT Suites. c:\wol.exe MAC_ADDY 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
srochford Posted November 10, 2008 Posted November 10, 2008 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: BuildMacList "10.128.0.1","10.128.0.0" BuildMacList "10.160.0.1","10.160.0.0" - 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. 1
Joedetic Posted November 11, 2008 Posted November 11, 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
Joedetic Posted November 11, 2008 Posted November 11, 2008 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.
bigF Posted March 25, 2017 Posted March 25, 2017 Resurrecting an old thread I know but... After much tooling around on the internet trying to find a simple way to do this in a server-less network with out having to run things manually or bodge fixes, finally a simple way. Make batch file add mac address, schedule task, simple. Glad I fond tis forum and joined.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now