GetDeviceUniqueId() as String Gordon Brown Returns the serial number of the unit running the script. This is a 12 character alphanumeric string.