I have an issue wherein a device that does not have a unique serial number (examples like 123456789, $(DEFAULT_STRING) or To be filled by O.E.M.) and I run the LAPS Global Script, it associates the generated password with a random device in ITG that has the same serial number
I think the script should be using both hostname and serial number to confirm that the device exists in the company in ITG.