-- Bill
Hey all! I need to wake on lan 13 workstations from a windows server 2003 server to perform backups. I would like to use a csv file that identifies the workstaion by name or ip and its mac address. I have found several powershell scripts, but had trouble getting them to work. any ideas? Thanks -- Bill
For starters, at what point are you at? Do you have a script that can at least start one workstation or you don't have anything at all currently. See: http://www.**--****.com/ Check the comments also. Get something working for one system, then if you need to pass a TXT or CSV file, that will be simple once you have something working for one. Marco -- *Microsoft MVP - Windows PowerShell https://mvp.support.microsoft.com/profile/Marco.Shaw *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition *PowerShell Co-Community Director - http://www.**--****.com/ *Blog - http://www.**--****.com/
Thanks Marco, I had seen the script you referenced and tried to get it working. What I have done so far: 1) Saved wakeonlan.ps1 and tried to execute... 2) launch powershell, ps> cd "c:\data\@utilities\foo" ps> .\profile ps> .\wakeonlan.ps1 enter option: wol enter workstation: (at this point I have tried a) all, b) computer name), c) ip address, d) mac address, e) combined: computer name followed by ip. Tracking the progress, the closest to working was b) computer name where it pinged and failed 25 times the computer. Maybe I am not "calling" this thing correctly. I mean the first line (#wakeonlan $computer) leads me to believe that the wakeonlan function takes the parameter $computer which resolves to the computer name. Anyway, I am learning ALOT and am continuing to until I fingure this all out (given time available). thanks again -- Bill
Hi Bill, it's difficult to tell what's wrong without knowing if WOL does work with the pc's you have in mind. The script version from James Manning < http://www.**--****.com/ ; does work here without any hassles waking a PC where BIOS is properly set up for WOL. .\Wake-On-Lan.ps1 11:22:33:44:55:66 -- Regards Matthias
IT WORKED!! I was not "calling" the script correctly. It should have been like you indicated: ".\ scriptname.ps1 mac address separated by ":". Now, in the powershell code repository, http://www.**--****.com/ script tha uses a csv file. First, Is this a powershell script? Second, If I cut and paste the 113 lines of code, and name it wakeonlan.ps1in my script directory, can I execute it at a pre-defined time (12:01 am Saturday)? Third, what is the correct separator for the mac address in the csv file (, or - or : or a space or no spaces)? Four, (pardon my viscosity) What is the correct syntax to execute it? I guess this brings a slightly different question, how to launch powershell "autmatically", and through that execute the above script? Thanks Again! -- Bill
Yes, of course it is. < http://www.**--****.com/ +powershell+script&as_ugroup=microsoft.public.windows.powershell> Looks like the mac itself shall have no separator with this script. computername,112233445566 othercomputer,FFEEDDCCBBAA Should do. Sorry just no time to test it and dive into - I'm still a posh noob too. -- Regards Matthias
Thank You for all your help! I now have a scheduled task that will wake each workstation at 11:59pm each Friday. Next I am going to learn to turn them off at 6am every Saturday. I already have the backup software configured to run every Saturday at 12:01 am. Thanks Again! -- Bill
1.Wake on LAN "REMOTE WAKE"???
I have a wireless monitor that connects to the computer using remote services, it works great except for the fact that I need to go to my basement first and then start my PC. I seem to have several option son my PC network card but don't understand all of them. APM etc. I've been able to get the computer to WAKE when the monitor tries to connect to it but the problem I'm having is that the computer also WAKEs when no one is within a mile of it. What are the minimal options I need to turn on in order to wake the computer? Also will it wake the computer from "shutdown" or just hibernation and standby?
2.remote wake up or wake on lan confustion
Do you know why i can't remotly wake up my desktop? I am using AMD's magic packet utility to test. i have entered my remote machines ip and mac addresses, but my pc never turns on. This is the first time i have tried remote wake up. I really could use your input. Desktop brand: Dell dimention 4300 NIC: Intel Pro/100+ driver version 8.0.11.0 date: 6/22/04 Settings i have configired (did i miss any?) BIOS: Remote wake up: ON NIC properties: Wake on link settings: Forced Wake on settings: Wake on Magic Packet Power managment: don't allow pc to turn on power for the networkcard device. -- XXXX@XXXXX.COM
I have my computer set to turn on remotely. For those who don't know, it involves a bios setting to enable wake up via a signal ("Magic Packet") sent over the network. This all works fine in Vista (as it did in XP), but only if the computer is completely off. However, if the computer is in sleep mode, sending the wake up signal doesn't do anything. This question may be a little esoteric for this group, but I've searched and can't find any answers anywhere. Is there some setting that will allow me to remotely wake the computer from sleep mode? Thanks.
I'm using Virtual PC 2007 under Windows Vista Ultimate. After a clean installation of Vista 64bit the wake on lan feature works fine. But when I install Virtual PC the computer doesn't wake up anymore. Can anyone help?
6. Resuming from sleep and Wake on Lan signal from Xbox360 extend
7. Resuming from sleep and Wake on Lan signal from Xbox360 extender
Users browsing this forum: No registered users and 5 guest