Jump to content

Recommended Posts

Posted

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

Posted

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-here

wol.zip

  • Thanks 1
  • 4 months later...
Posted

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?

Posted
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

Posted
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.

  • Thanks 1
Posted

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

Posted

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....

  • Thanks 1
Posted

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 :)

Posted

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.

  • Thanks 1
Posted

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

  • 8 years later...
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...