Re: Script for Remote Wake on Lan
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Tue, 29 Jan 2008 19:55:21 +0100
"Wayne Jordan" <Wayne Jordan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:83BDAE2D-4619-499A-B101-DD42B69F8E28@xxxxxxxxxxxxxxxx
We use a product for managed services called Kaseya and I can run custom
scripts for almost any task I need, well if I were better at scripting I
could :-). My situation is I need to be able to run a script that will
execute the wol.exe /m:MacAddress. The script would be executed from a
server
inside the lan. The mac address is stored in kaseya which i can grab using
a
variable #vMachine.MacAddr#. Unfortunately the way it is formatted
"00-00-00-00-00" means i need to strip out the "-" before executing the
script. I will need to replace the variable with the actual mac address
before execution. I hope someone can help me or lead me in the right
direction. Thanks in advance for your help.
I'm a little unclear about the process flow. Does it go like so?
1. You're in Kaseya.
2. You click the WakeUp button.
3. Kaseya calls ??? with a parameter of 0a-bc-11-34-06-bb (for example).
4. Your script turn this address into 0abc113406bb.
5. Your script invokes this command: wol.exe /m:0abc113406bb.
What is the ??? bit?
.
- Prev by Date: Win 2003 R2 x64standard + DAO 3.6
- Next by Date: Re: Script for Remote Wake on Lan
- Previous by thread: Win 2003 R2 x64standard + DAO 3.6
- Next by thread: Re: Script for Remote Wake on Lan
- Index(es):
Relevant Pages
|