Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Untag as favorite
Custom Action Variables
adamtreier
#1 Posted : Monday, February 21, 2011 4:25:05 PM

Rank: Premium user

Groups: Premium Users, Member
Posts: 3
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?
Lansweeper
#2 Posted : Monday, February 21, 2011 4:31:56 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,370
You can use the variable {fqdn}
adamtreier
#3 Posted : Monday, February 21, 2011 4:36:47 PM

Rank: Premium user

Groups: Premium Users, Member
Posts: 3
Thank you sir,

Is there a list anywhere of the variables we can use in the custom actions?
Lansweeper
#4 Posted : Monday, February 21, 2011 4:58:02 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,370
ahahum
#5 Posted : Monday, March 14, 2011 9:47:20 PM
Rank: Freeware user

Groups: Member
Posts: 8
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.

Lansweeper
#6 Posted : Tuesday, March 15, 2011 10:13:01 AM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,370
This is only possible is you program a custom vbscript that queries the remote registry or gets the value from the database.
Users browsing this topic
Guest
Untag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba