→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cctech
Engaged Sweeper II

Sometimes when working on a device I want to copy the device name or IP address and paste it into an email or message to someone. Currently I highlight the information on the asset page. Is there a basic task I can use or make to copy the device name or IP to the clipboard?

name and ip

3 REPLIES 3
MHScripts
Engaged Sweeper II
In case you want the smartname and IP in one line,
cmd.exe /K "set Info={smartname} {ipaddress} & echo %Info% | clip & exit"
Esben_D
Lansweeper Employee
Lansweeper Employee
Thanks for sharing, I experimented with this myself a bit but I didn't get a working version before you did.
cctech
Engaged Sweeper II
I was able to make a custom actions for both task using the following.

cmd.exe /K "echo {smartname}| clip & exit"

cmd.exe /K "echo {ipaddress}| clip & exit"