We use the Serial Number all the time in DS 6.9 as a token and it's no longer available in DS 7.x. How can we get this?
It has to be created because it doesn't exist out of the box.
Tokens are created under Settings | All Settings and then Settings\Notification Server\Task Server\Tokens.
Create a new Token by clicking on the yellow asterisc*, type in a name (such as SerialNumber) and then for the query, place in the following text:
select [Hardware Serial Number] from Inv_AeX_AC_Identification where _ResourceGuid = '%COMPUTERID%'
This will get you a token you can use for Serial Number in your scripts and other processes.