Skip to content

Instantly share code, notes, and snippets.

@Youka
Last active December 4, 2023 03:22
Show Gist options
  • Select an option

  • Save Youka/cd472b729f8b06413aa2a1fcbb9c62cc to your computer and use it in GitHub Desktop.

Select an option

Save Youka/cd472b729f8b06413aa2a1fcbb9c62cc to your computer and use it in GitHub Desktop.

Revisions

  1. Youka revised this gist Oct 3, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions sysinfo.bat
    Original file line number Diff line number Diff line change
    @@ -9,15 +9,15 @@ wmic CPU GET AddressWidth,CurrentClockSpeed,CurrentVoltage,L2CacheSize,L3CacheSi
    echo.
    rem Get graphics card information
    echo # VIDEO
    wmic PATH Win32_videocontroller GET AdapterRAM,CurrentBitsPerPixel,CurrentRefreshRate,Description,DriverVersion,VideoModeDescription
    wmic PATH Win32_videocontroller GET AdapterRAM,CurrentRefreshRate,Description,DriverVersion,VideoModeDescription
    echo.
    rem Get main memory information
    echo # MEMORY
    wmic MEMORYCHIP GET BankLabel,Manufacturer,PartNumber,Capacity,Speed,TypeDetail
    wmic MEMORYCHIP GET BankLabel,DataWidth,Manufacturer,PartNumber,Capacity,Speed,TypeDetail
    echo.
    rem Get disks information
    echo # VOLUME
    wmic VOLUME GET BlockSize,Capacity,DriveLetter,FileSystem,FreeSpace,IndexingEnabled,MaximumFileNameLength
    wmic VOLUME GET BlockSize,Capacity,DriveLetter,FileSystem,FreeSpace,IndexingEnabled,Label,MaximumFileNameLength
    echo.
    rem Get operating system information
    echo # OS
  2. Youka revised this gist Oct 3, 2018. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions sysinfo.bat
    Original file line number Diff line number Diff line change
    @@ -1,21 +1,31 @@
    @echo off

    rem Resize window for following masses of content
    mode 200,50

    rem Get CPU information
    echo # CPU
    wmic CPU GET AddressWidth,CurrentClockSpeed,CurrentVoltage,L2CacheSize,L3CacheSize,LoadPercentage,Manufacturer,Name,NumberOfCores,NumberOfLogicalProcessors
    echo.
    rem Get graphics card information
    echo # VIDEO
    wmic PATH Win32_videocontroller GET AdapterRAM,CurrentBitsPerPixel,CurrentRefreshRate,Description,DriverVersion,VideoModeDescription
    echo.
    rem Get main memory information
    echo # MEMORY
    wmic MEMORYCHIP GET BankLabel,Manufacturer,PartNumber,Capacity,Speed,TypeDetail
    echo.
    rem Get disks information
    echo # VOLUME
    wmic VOLUME GET BlockSize,Capacity,DriveLetter,FileSystem,FreeSpace,IndexingEnabled,MaximumFileNameLength
    echo.
    rem Get operating system information
    echo # OS
    wmic OS GET Caption,CodeSet,CSName,InstallDate,Locale,NumberOfProcesses,OSArchitecture,SerialNumber,SystemDirectory,Version
    echo.
    rem Get autostart programs list
    echo # STARTUP
    wmic STARTUP GET Caption,Command,Location

    rem Keep window open until key is pressed
    pause
  3. Youka revised this gist Oct 3, 2018. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions sysinfo.bat
    Original file line number Diff line number Diff line change
    @@ -1,21 +1,21 @@
    @echo off

    echo CPU
    echo # CPU
    wmic CPU GET AddressWidth,CurrentClockSpeed,CurrentVoltage,L2CacheSize,L3CacheSize,LoadPercentage,Manufacturer,Name,NumberOfCores,NumberOfLogicalProcessors
    echo.
    echo VIDEO
    wmic PATH Win32_videocontroller GET AdapterRAM,CurrentBitsPerPixel,Description,DriverVersion,VideoModeDescription
    echo # VIDEO
    wmic PATH Win32_videocontroller GET AdapterRAM,CurrentBitsPerPixel,CurrentRefreshRate,Description,DriverVersion,VideoModeDescription
    echo.
    echo MEMORY
    echo # MEMORY
    wmic MEMORYCHIP GET BankLabel,Manufacturer,PartNumber,Capacity,Speed,TypeDetail
    echo.
    echo VOLUME
    echo # VOLUME
    wmic VOLUME GET BlockSize,Capacity,DriveLetter,FileSystem,FreeSpace,IndexingEnabled,MaximumFileNameLength
    echo.
    echo OS
    echo # OS
    wmic OS GET Caption,CodeSet,CSName,InstallDate,Locale,NumberOfProcesses,OSArchitecture,SerialNumber,SystemDirectory,Version
    echo.
    echo STARTUP
    echo # STARTUP
    wmic STARTUP GET Caption,Command,Location

    pause
  4. Youka created this gist Oct 3, 2018.
    21 changes: 21 additions & 0 deletions sysinfo.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    @echo off

    echo CPU
    wmic CPU GET AddressWidth,CurrentClockSpeed,CurrentVoltage,L2CacheSize,L3CacheSize,LoadPercentage,Manufacturer,Name,NumberOfCores,NumberOfLogicalProcessors
    echo.
    echo VIDEO
    wmic PATH Win32_videocontroller GET AdapterRAM,CurrentBitsPerPixel,Description,DriverVersion,VideoModeDescription
    echo.
    echo MEMORY
    wmic MEMORYCHIP GET BankLabel,Manufacturer,PartNumber,Capacity,Speed,TypeDetail
    echo.
    echo VOLUME
    wmic VOLUME GET BlockSize,Capacity,DriveLetter,FileSystem,FreeSpace,IndexingEnabled,MaximumFileNameLength
    echo.
    echo OS
    wmic OS GET Caption,CodeSet,CSName,InstallDate,Locale,NumberOfProcesses,OSArchitecture,SerialNumber,SystemDirectory,Version
    echo.
    echo STARTUP
    wmic STARTUP GET Caption,Command,Location

    pause