A user shared a script created with the help of Copilot, intended to identify devices that have moved a certain distance based on location information stored in the Edge DX location_info index. The message includes a demo video, screenshots, and the script itself with comments. It is noted that the script was developed in python with Copilot’s assistance. It is also mentioned that this is a script that can be used outside the product, using data from within the product. The script may need adjustments for different environments and variables. Some users expressed excitement and offered feedback on potentially improving the script. One user also mentioned their 50th birthday.
Read the entire ‘Using Copilot to Create a Script for Identifying Mobile Devices in ControlUp’ thread below:
Hey good morning. Hope everyone is having a great day.
Was playing around with Copilot this morning and decided to see if it could help me write a script that helps me identify devices that have moved over a certain distance based on a device’s location which is stored in the location_info index in Edge DX. The script was developed with some serious Copilot assistance in python (since I don’t really write python myself).
Attached to this message:
• Demo video of what the script does and how to get it working for your environment
• The script itself (with plenty of comments to help understand)
• Screenshots
• And a Copilot generated summary of what the script does
Feel free to use/adjust for your needs. Copilot (or any other AI tool really) is your friend
And just to clarify, this is a script that is intended to work outside the product, but using data from inside the product. If someone wants to build API integration, let me know lol
Is it sad that I’m excited to watch the video this evening
I don’t know, is it more sad that I did this on my 50th birthday lol
Happy birthday
Thanks Paul
Btw, no idea how this will work with high number of devices, but maybe someone can find out 🙂
Also, although i didn’t change it into a variable, you might have to change the "5 miles" distance for your account. In our lab devices are either fairly static, or in case we need to travel they go far. But if you have people that use a laptop and commute on the regular you might want to increase the distance and do a smaller data set (I did a month, but if you have regular commuters, you will quickly hit that 5 miles and everything will be red). I’m sure there’s ways to make this script smarter, but it’s a good starting point
Me
Continue reading and comment on the thread ‘Using Copilot to Create a Script for Identifying Mobile Devices in ControlUp’. Not a member? Join Here!
Categories: All Archives, ControlUp Edge DX, ControlUp Scripts & Triggers