Notification

Icon
Error

Powershell script for WOL on VLAN

Posted: Thursday, November 1, 2018 4:15:02 PM(UTC)
HKLM_

HKLM_

Member Original PosterPosts: 1
0
Like
Recently I had the issue that my lance server is in a different plane than my clients.

Because you can not send wol request over different vlans, the built-in action of lansweeper does not work.

However, it is possible to use the supplied wol.exe tool of lansweeper in cmd or powershell.

This can be found on your c $ \ Program Files (x86) \ Lansweeper \ Actions

It is very simple script but it works for us.

Code:

POWERSHELL
$mac = Read-Host -Prompt "Enter your MAC address and hit return"
c:\temp\WOL\wol.exe $mac

pause


I then converted it to an .exe with PS2EXE and placed it in Lansweeper under advanced actions.
The only drawback is that you have to copy the mac address yourself.

Active Discussions

Lansweeper Fixing LDAP Error when syncing AD Users
by  ttye   Go to last post Go to first unread
Last post: Yesterday at 10:09:26 PM(UTC)
Lansweeper Error saving Tab as Global
by  NeoIsTaken  
Go to last post Go to first unread
Last post: Yesterday at 9:55:49 PM(UTC)
Lansweeper automated reporting scheduler
by  AZHockeyNut   Go to last post Go to first unread
Last post: Yesterday at 7:00:54 PM(UTC)
Lansweeper Related KB articles when creating tickets
by  StephanieCDA  
Go to last post Go to first unread
Last post: Yesterday at 6:50:51 PM(UTC)
Lansweeper Maximum image size location map
by  Charles.X   Go to last post Go to first unread
Last post: Yesterday at 3:33:17 PM(UTC)
Lansweeper Ticket dispatching rules for web created tickets?
by  Charles.X  
Go to last post Go to first unread
Last post: 12/11/2018 5:49:44 PM(UTC)
Lansweeper User Portal: hide assigned Agent
by  Charles.X   Go to last post Go to first unread
Last post: 12/11/2018 5:39:56 PM(UTC)
Lansweeper What happens to tickets when users removed?
by  Charles.X  
Go to last post Go to first unread
Last post: 12/11/2018 5:34:31 PM(UTC)