From http://windowsitpro.com/windows-10/check-machine-windows-10-compatibility:
“Q. How can I check a machine for compatibility with Windows 10?
A. It is possible to run the Windows 10 setup in a scan only mode which will return a result related to if an upgrade is possible. Run the command below:
start /wait /setup.exe /auto upgrade /compat ScanOnly /quiet”
See also: Windows 10 Pre-Upgrade Validation using SETUP.EXE
See also: Windows Setup Command-Line Options
Related information: Windows 10 migration – Fresh install or in-place upgrade?