Microsoft Knowledge Base Article 317592 contains the following summary:
This step-by-step article describes how to use the Terminal Services Licensing Reporter tool (Lsreport.exe) to display
and analyze the license information that is contained in the database of Terminal Services license servers.
Lsreport.exe is available in the Microsoft Windows 2000 Server Resource Kit. Lsreport.exe is a command-line utility that you can use to display information about the licenses that are issued by Terminal Services license servers. Lsreport.exe connects to Terminal Services license servers and logs information about the license key packs that are installed on the servers.
Lsreport.exe exports the contents of the license server database to a text file. By default, the file name is Lsreport.txt, and it is created in the current working folder. The resulting output is tab-delimited, and contains the following columns: