Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
adamtreier
Engaged Sweeper
Can you pull variables from different fields from the sql tables to use in the custom actions?

example: to ping a computer the command is "cmd.exe /K "ping.exe {computer}"

I want to ping the fully qualified name... can you use the DNSHostname from the ADComputers table?
8 REPLIES 8
almor
Engaged Sweeper II
Will be nice to see a {mac} variable with a striped colons for a wol.exe for using on outside of LAN, with a psexec.
We have a 4 sites to survey, connected by VPN and magic packet not goes through
Hemoco
Lansweeper Alumni
Available parameters are listed when you hit the Add Asset Action button under Configuration/Website Management/Asset Pages.
_JasonB_
Engaged Sweeper
Page 39 of the LANSweeper 5.0 documentation does not appear to contain a list of the custom actions variables. Can you tell me where I might find it?
Hemoco
Lansweeper Alumni
This is only possible is you program a custom vbscript that queries the remote registry or gets the value from the database.
ahahum
Engaged Sweeper II
So is there no way to use a custom scanned registry value in a custom action?

For example:

I'm using a 3rd party remote control tool that gives each client a custom ID number and stores it in the registry. I have added this scan option so that the info is in the database, now I just need to know how to pass that ID number into my custom action.

Hemoco
Lansweeper Alumni
Page 39 on http://www.lansweeper.com/documentation.pdf
adamtreier
Engaged Sweeper
Thank you sir,

Is there a list anywhere of the variables we can use in the custom actions?
Hemoco
Lansweeper Alumni
You can use the variable {fqdn}

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now