SHOW:
|
|
- or go back to the newest paste.
| 1 | @echo off | |
| 2 | cls | |
| 3 | color 1B | |
| 4 | title System Information Report | |
| 5 | echo. | |
| 6 | echo This script will begin gathering info when you are ready. | |
| 7 | echo. | |
| 8 | echo The log will be saved as SystemInfoReport.txt | |
| 9 | echo It will be automatically opened when complete. | |
| 10 | echo. | |
| 11 | pause | |
| 12 | cls | |
| 13 | echo BASIC INFORMATION: >SystemInfoReport.txt | |
| 14 | echo. >>SystemInfoReport.txt | |
| 15 | wmic /append:SystemInfoReport.txt computersystem get name,model,manufacturer,systemtype,domain | |
| 16 | echo Serial # is: >>SystemInfoReport.txt | |
| 17 | WMIC BIOS GET SerialNumber | find /V "SerialNumber" >>SystemInfoReport.txt | |
| 18 | echo BIOS version: >>SystemInfoReport.txt | |
| 19 | wmic BIOS get smbiosbiosversion | find /V "SMBIOSBIOSVersion" >>SystemInfoReport.txt | |
| 20 | echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>SystemInfoReport.txt | |
| 21 | echo MEMORY INFORMATION: >>SystemInfoReport.txt | |
| 22 | echo. >>SystemInfoReport.txt | |
| 23 | echo Total # of DIMM slots(used AND empty): >>SystemInfoReport.txt | |
| 24 | wmic memphysical get memorydevices | find /v "MemoryDevices" >>systeminforeport.txt | |
| 25 | echo Information on all installed DIMMs: >>SystemInfoReport.txt | |
| 26 | wmic /append:SystemInfoReport.txt memorychip get devicelocator,capacity,speed,partnumber,memorytype | |
| 27 | echo Memory type codes: >>SystemInfoReport.txt | |
| 28 | echo 20=DDR, 21=DDR2, 22=BRAM, 23=FB-DIMM, 24=DDR3, 25=FBD2, 26=DDR4, 27=LPDDR, 28=LPDDR2, 29=LPDDR3, 30=LPDDR4 >>SystemInfoReport.txt | |
| 29 | echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>SystemInfoReport.txt | |
| 30 | echo PROCESSOR INFORMATION: >>SystemInfoReport.txt | |
| 31 | echo. >>SystemInfoReport.txt | |
| 32 | wmic /append:SystemInfoReport.txt CPU GET name, caption, maxclockspeed, deviceid, status, addresswidth | |
| 33 | echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>SystemInfoReport.txt | |
| 34 | echo SERVER INFO:>>SystemInfoReport.txt | |
| 35 | echo. >>SystemInfoReport.txt | |
| 36 | echo Roles installed on this machine: >>SystemInfoReport.txt | |
| 37 | wmic computersystem get roles | find /v "Roles" >>SystemInfoReport.txt | |
| 38 | echo Printers and folders shared from this machine: >>SystemInfoReport.txt | |
| 39 | net share | find /v "The command completed successfully." >>SystemInfoReport.txt | |
| 40 | echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>SystemInfoReport.txt | |
| 41 | echo NETWORKING INFO for enabled interfaces only: >>SystemInfoReport.txt | |
| 42 | echo. >>SystemInfoReport.txt | |
| 43 | wmic /append:SystemInfoReport.txt nicconfig where ipenabled=true get dnsdomain,dhcpenabled,dhcpleaseexpires,defaultipgateway,ipaddress,description,dhcpserver,defaultipgateway,dnsserversearchorder,ipsubnet | |
| 44 | echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>SystemInfoReport.txt | |
| 45 | echo Output from IPCONFIG /ALL>>SystemInfoReport.txt | |
| 46 | ipconfig /all >>SystemInfoReport.txt | |
| 47 | start notepad.exe "systeminforeport.txt" | |
| 48 | exit |