System Information, and the plethora of information about your Mac computer that you can obtain from it, can also be accessed from the command line using the system_profiler command. By default, it outputs all information directly to the screen, so you may want to redirect the stdout to a file.
system_profiler > /Users/your-account-name/Desktop/report.txt