Issue with generic script to return Administrators

There is an issue with the script located here: https://scripts.itarian.com/frontend/web/topic/get-local-administrators-from-all-machines-in-device-list.

After editing the initial variables and running the script I was emailed a list of machines that did not belong to my device list. A brief review of what was sent to me and it appears I was sent over 500 devices from different companies which showed the device name and all Administrator accounts on those devices.

Someone may want to take a look at this and update either the script OR the back end of the application to prevent us from accessing information about environments that are not our own.

@ErnieCauthen ,

We thank you for bringing this report to our attention. we have coordinated with our Script Developers to give us an output of this script in details.