LsReport Main Topic | Next

LsReport Syntax


One Steplsreport [/f [path]filename] [/d start [end]] [/t] [serverlist] [/?]

Where:

/f [path]filename
allows an alternate file name (and optional path) to be specified for the log file. If an output file by the same name exists, it is overwritten. By default, LsReport writes all data to a file named Lsreport.txt in the working directory.
Example
/d start [end]
writes only licenses considered to be in force between the start and end dates to the output file. If the end date is not specified, it defaults to the current date. An in-force license is a license that is valid at any point over the time span. Active licenses are valid at all points after issue; temporary licenses are valid for 90 days after issue.
/t
restricts the report to temporary licenses only. By default, LsReport reports on all licenses, temporary or otherwise.
Example
serverlist
lists Terminal Services license servers to be queried, separated by spaces. If no list is specified, a list is obtained from the domain controller and all discoverable domain and enterprise Terminal Services license servers are queried.
/?
displays a summary of these options and example invocations of LsReport at the command prompt.