Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- :: CUSTOMIZATION:
- :: "set chosenpath=" determines the location of the script's output.
- :: You may enter any path and filename you wish.
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- set ChosenPath=%USERPROFILE%\Desktop\InfoReport.txt
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- color 1f
- title System Information Report
- echo.
- echo.
- echo.
- echo This script will begin gathering info when you are ready.
- echo.
- echo When the script completes, the report will open automatically.
- echo.
- pause
- color 3f
- cls
- echo.
- echo I will begin creating the report now.
- echo. >%ChosenPath%
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo IDENTIFICATION and MOTHERBOARD INFORMATION: >>%ChosenPath%
- echo. >>%ChosenPath%
- wmic /append:%ChosenPath% computersystem get name,model,manufacturer,systemtype,domain
- echo Motherboard part # and serial #: >>%ChosenPath%
- wmic /append:%ChosenPath% path win32_baseboard get manufacturer, Product, serialnumber
- echo Computer Serial # is: >>%ChosenPath%
- WMIC BIOS GET SerialNumber | find /V "SerialNumber" >>%ChosenPath%
- echo BIOS version: >>%ChosenPath%
- wmic BIOS get smbiosbiosversion | find /V "SMBIOSBIOSVersion" >>%ChosenPath%
- echo Operating System: >>%ChosenPath%
- wmic /append:%ChosenPath% OS get caption, version, osarchitecture
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo PROCESSOR INFORMATION: >>%ChosenPath%
- echo. >>%ChosenPath%
- wmic /append:%ChosenPath% CPU GET name, caption, maxclockspeed, numberofcores, deviceid, status, addresswidth
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo VIDEO ADAPTER INFORMATION: >>%ChosenPath%
- echo. >>%ChosenPath%
- echo Capacity is in single bytes. To convert to GB, divide by 1048576. >>%ChosenPath%
- wmic /append:%ChosenPath% path win32_videocontroller get name, driverversion, adapterram, videoprocessor
- wmic /append:%ChosenPath% path win32_videocontroller get currenthorizontalresolution,currentverticalresolution
- wmic /append:%ChosenPath% path win32_videocontroller get currentbitsperpixel,currentrefreshrate
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo MEMORY INFORMATION: >>%ChosenPath%
- echo. >>%ChosenPath%
- echo Total # of DIMM slots(used AND empty): >>%ChosenPath%
- wmic memphysical get memorydevices | find /v "MemoryDevices" >>%ChosenPath%
- echo Information on all installed DIMMs: >>%ChosenPath%
- echo Capacity is in single bytes. To convert to GB, divide by 1048576. >>%ChosenPath%
- wmic /append:%ChosenPath% memorychip get devicelocator,capacity,speed,partnumber,memorytype
- echo Memory type codes: >>%ChosenPath%
- echo 20=DDR, 21=DDR2, 22=BRAM, 23=FB-DIMM, 24=DDR3, 25=FBD2, 26=DDR4, 27=LPDDR, 28=LPDDR2, 29=LPDDR3, 30=LPDDR4 >>%ChosenPath%
- echo If MemoryType = 0, it is unknown. You can find out by searching the part number online. >>%ChosenPath%
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo STORAGE device information: >>%ChosenPath%
- echo. >>%ChosenPath%
- wmic /append:%ChosenPath% diskdrive get deviceid, manufacturer, model,interfacetype,size
- echo Size is in single bytes. To convert to GB, divide by 1048576. >>%ChosenPath%
- echo. >>%ChosenPath%
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo NETWORKING INFORMATION for ENABLED INTERFACES:>>%ChosenPath%
- echo. >>%ChosenPath%
- wmic /append:%ChosenPath% nicconfig where ipenabled=true get dnsdomain,dhcpenabled,dhcpleaseexpires,defaultipgateway,ipaddress,description,dhcpserver,defaultipgateway,dnsserversearchorder,ipsubnet
- echo NETWORKING INFORMATION for DISABLED INTERFACES: >>%ChosenPath%
- wmic /append:%ChosenPath% nicconfig where ipenabled=false get dnsdomain,dhcpenabled,dhcpleaseexpires,defaultipgateway,ipaddress,description,dhcpserver,defaultipgateway,dnsserversearchorder,ipsubnet
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo PRINTER and FOLDER SHARES: >>%ChosenPath%
- net share | find /v "The command completed successfully." >>%ChosenPath%
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo LOCAL and REMOTE PRINTER information: >>%ChosenPath%
- echo. >>%ChosenPath%
- echo.
- echo WORKING...
- echo.
- wmic /append:%ChosenPath% printer get Name, DriverName, systemname, sharename, PortName, location
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
- echo INSTALLED SOFTWARE (may be incomplete; not all software registers itself in the WMI): >>%ChosenPath%
- echo. >>%ChosenPath%
- echo.
- echo WORKING...
- echo.
- wmic /append:%ChosenPath% product get vendor,name,version,installlocation
- cls
- color 2f
- echo.
- start /MAX notepad.exe "%ChosenPath%"
- exit /b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement