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

Report Center Windows 10 readiness report
by  Esben.D   Go to last post Go to first unread
Last post: Yesterday at 11:01:07 AM(UTC)
Report Center Top 5 CPU utilization
by  no1welshboyo  
Go to last post Go to first unread
Last post: Yesterday at 10:52:35 AM(UTC)
Lansweeper User: AD user attributes
by  CaroleEGCU  
Go to last post Go to first unread
Last post: 4/23/2019 6:59:53 PM(UTC)
Lansweeper Include MS Office with version on my report
by  Apaulcolypse   Go to last post Go to first unread
Last post: 4/23/2019 3:27:21 PM(UTC)
Lansweeper Windows: Network adapter speed (Built-in)
by  Argon0  
Go to last post Go to first unread
Last post: 4/23/2019 2:01:01 PM(UTC)
Lansweeper Windows Domain Overview report
by  AZHockeyNut   Go to last post Go to first unread
Last post: 4/19/2019 4:36:26 PM(UTC)
Lansweeper Internet Explorer Vulnerability
by  Esben.D  
Go to last post Go to first unread
Last post: 4/18/2019 4:08:50 PM(UTC)