-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkhardware.bat
23 lines (12 loc) · 1.06 KB
/
checkhardware.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if not exist "%UserProfile%\Desktop\check" md "%UserProfile%\Desktop\check"
wmic memorychip list full > %UserProfile%\Desktop\check\ram.txt
wmic diskdrive list full > %UserProfile%\Desktop\check\disk.txt
netsh wlan show all > %UserProfile%\Desktop\check\wlan.txt
wmic nic get Name, Manufacturer, MACAddress, PNPDeviceID, Speed, Installed, AdapterType > %UserProfile%\Desktop\check\network.txt
wmic desktopmonitor get Name,MonitorType,MonitorManufacturer,DeviceID,DisplayType,InstallDate,PNPDeviceID,ScreenHeight,ScreenWidth,Status,StatusInfo > %UserProfile%\Desktop\check\display.txt
wmic bios get BuildNumber,Description,IdentificationCode,Manufacturer,Name,SMBIOSBIOSVersion,SerialNumber > %UserProfile%\Desktop\check\bios.txt
wmic cpu get Name,Manufacturer,Version,UniqueId,SystemName,ProcessorId,ProcessorType,Revision,MaxClockSpeed,DeviceID,Architecture > %UserProfile%\Desktop\check\cpu.txt
powercfg /batteryreport /output "%UserProfile%\Desktop\check\battery-report.html"
start %UserProfile%\Desktop\check
start %UserProfile%\Desktop\check\battery-report.html
exit