Bomgar Remote Support Tool
Jason Lester
Wondering if anyone has setup PDQ Inventory to launch a Bomgar session from the Tools menu? In reading the Bomgar API, they want you to first connect and get a session key that is valid for 1 hour before actually running the command to open a remote session. I can't think of an easy way to do that though.
0
Comments
I think I found a way to do it. How do I pass the hostname of the computer I'm running the tool on? I assume there's a variable of some sort I can use, but I haven't been able to find it. I need to pass it to my Bomgar script that starts the remote session automatically.
Taken from the Help files:
Help for PDQ Inventory > Working with Tools > Creating and Editing Tools > Creating a New Tool
Computer Specific Variables
You can use variables with tools. The Command Line field of the Custom Computer Tool window will accept environmental variables (for example, %PROGRAMFILES%, %WINDIR%, %SYSTEMDRIVE%, etc.), as well as variables defined within PDQ Inventory (variables are not case sensitive). The computer specific variables available within PDQ Inventory are as follows:
IMPORTANT: Computer specific variables starting with %TARGET are no longer supported and will need to be replaced with a computer variable starting with $(Computer:TARGET. Additionally, computer specific variables cannot be used when the System Tool is checked. For more information, see System Tool.
Computer Specific Variable
Description
$(Computer:TARGET)
The name of the computer.
$(Computer:TARGETHOSTNAME)
The full domain name of the computer.
$(Computer:TARGETIPADDRESS)
The IP address of the computer.
$(Computer:TARGETMACADDRESS)
The MAC address of the computer.
$(Computer:TARGETOSNAME)
The name of the computer's operating system
$(Computer:TARGETSERIALNUMBER)
The serial number of the computer, if available.
Tools Examples
The example below shows a Tool which opens a DameWare 11 remote control session against a selected computer, using the Command "C:\Program Files\SolarWinds\DameWare Mini Remote Control 11.0 x64\dwrcc.exe" -c -h -m:$(Computer:TARGET) -md: -a:1 -x:
The example below shows a Tool which opens MMC and loads the Services.msc snap-in and connects to the selected computer, using the Command %SYSTEMROOT%\system32\mmc.exe services.msc /computer:$(Computer:TARGET)
The example below shows a Tool which flushes your DNS cache in Windows, using the Command %SYSTEMROOT%\System32\ipconfig.exe /flushdns
Thanks, that worked perfectly!