Tool
This is a quick little utility I put together based on a code snippet I found on the Net.
This script queries LDAP for workstations that are members of specified groups. The script then uses the "zenwmMACAddress" attribute of workstation objects to send a Wake on LAN packet to eachworkstation.
I use this script to power on all of the workstations locatedin our library each morning.
To use this script you will need Perl and the Net::LDAP module then,just customize the script to fit your environment.
The following four changes are absolutely necessary:
1. Edit the first line to reflect your path to Perl.
2. Place the full DN to each workstation group you wish to wake in the"wakeup_groups" array. (notice the lack of a trailing comma on the lastgroup in the array)
3. Edit the search_base variable to reflect your tree's organization.
4. Edit "ldapservername" to reflect the name of your LDAP server.
Any other changes you may need to make should be self-explanatory by using the comments in the script.
| Attachment | サイズ |
|---|---|
| nds_wake.zip | 1.36 KB |
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 3615 reads


0