When you want to prepare Health check report or Environment configuration details reports for windows system. Below commands are helpful to get details.
DXDIAG
DirectX Diagnostic Tool provides information about your Computer Name, Operating System Version,Language, System Model, Processor, Memory information in graphical view.
You can use below command on command prompt to store output in text file.
Run CMD and execute Dxdiag /t <Path>/dxdiag.txt
SYSTEMINFO :
SYSTEMINFO command can be executed on command prompt and use this command to get information about Host Name, OS Version, OS Manufacturer, Registered Owner / Organization, BIOS Version, Time zone, SYSTEM model, system boot time, system type, Processor, Windows / system directory, Total Physical Memory, Available Memory, Virtual Memory, Domain Name, Hot Fixs applied in windows, Page file location, Network Card and Network IPs of windows system.
Run CMD and execute systeminfo command to view result.
or
Run directly systeminfo command.
WMIC
Windows Management Insrumentation command can be used to get process details, CPU details, Disk Details, Memory usage details and so on.
Open command prompt :
To Get Process details using wmic : wmic process where name='outlook.exe'
To Get All disk drives usage details : wmic LOGICALDISK GET SIZE,FREESPACE,CAPTION
To Get CPU usage on windows : wmic cpu get loadpercentage
To Get Memory / RAM Usage on Windows : wmic os get freephysicalmemory or wmic os get freevirtualmemory
To Get Total RAM memory details : wmic computersystem get totalphysicalmemory.
REG / REGEDIT
Use regedit To Get Registry information on windows. You can store all registry key values in text file using export menu in File menu of Registry Edit Window.Use reg from Command line to get registry value of any Parameter.
Execute below command to get all registry parameters under path : HKEY_LOCAL_MACHINE\SYSTEM\CurrentContorlSet\Services\TcpIp\Parameters in windows registry.
reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentContorlSet\Services\TcpIp\Parameters
Thanks,
Ketan.