Simple to use [reprint] WMIC's

HTTPS: // blog.csdn.net/black_bird_cn/article/details/80005935 

companies use asset inventory

 

About WMIC

WMIC extended WMI (Windows Management Instrumentation, Windows management tools), provides support for command line interfaces and batch command scripts to perform system administration.

WMIC is simple to use

Windows computer hardware information View
original black_bird_cn Last post on 2018-04-30 17:10:48 read the number 8013 collection
launched
a personal computer [microcomputer] several key performance indicators
(a), speed of operation:
commonly referred to as computing speed (average speed of operation), refers to the number of instructions per second can perform pieces, generally with "million instructions / second" (mips, Million instruction Per Second ) described, general use of the microcomputer frequency [ CPU (microprocessor) clock operating frequency] described the operation speed, in general, the higher the frequency, the faster operation speed.

(B), the word length:
basic concepts:
the number of bits of binary integer arithmetic can be processed in a computer unit time (i.e., fixed-point integer arithmetic integer arithmetic), usually the internal data path width of the word length of the main CPU of the computer impact accuracy and speed, the longer word length, the faster the speed of the computer data processing, higher accuracy.
Run the machine:
word size of a computer language instructions directly in binary code, with the code instruction is a string composed of 0 and 1, which have a certain number of bits, and the word length is divided into several segments, each segment coded representation of different meaning, for example, a computer word length is 32 bits, i.e. 32 synthesis of a binary instructions or other information. 1 0 and 32 can be composed of regularly arranged through a particular combination, via a line into electrical signals, and computer perform various operations;
basic situation:
In order to meet the different requirements of the relationship between the coordinate and operation accuracy and hardware cost, large most computers support variable length operation, i.e. half-word length can be achieved within the dryer, full-length (or word length) and dword operations. Other indicators are the same, the greater data processing speed faster computer word length. Early computer word length is usually 8 and 16, most of the 386 and 32-bit or higher processor. At present most of the computer's processor market has reached 64.

(C), cache
a cache memory. One important indicator is the CPU cache size, cache size increases, can greatly enhance the internal CPU reads the data hit rate.

(Iv) a main memory capacity (memory capacity **)
measured by the computer memory capacity index, the larger the memory, the faster the machine speed

(E) the input and output data transmission rate
with the peripheral speed of data exchange. The rate of exchange of the hard disk data, the output rate of the printer and the like.

Two, WMIC under Windows
(a) What is the WMIC?
WMIC extended WMI (Windows Management Instrumentation, Windows management tools), provides support for command line interfaces and batch command scripts to perform system administration. Use WMIC, we can not only manage the local computer, but also manage all remote computer (requires permission) in the same Windows domain, and managed remote computers without prior installation WMIC, only need to support WMI. .

(B) What WMIC do?
WMIC can be used to achieve the following administrative tasks:

1 , the local management computer 
 2 , a single remote management computer 
 3 , the plurality of remote management computer 
 4 , the computer using a remote session management (e.g., the Telnet) 
 . 5 , the automatic management using the management script

 

Third, in the windows system comes with WMIC command to view the hardware information
(a), the preparatory work

The first time you execute WMIC command, Windows must first install the WMIC, and then displays the WMIC command line prompt. 
Win + R & lt ENTER → → → wmic enters the CMD manager wmic
Then you can enter commands directly wmic; 
Per course can also be entered directly WMIC + commands;

 

(Two), WMIC command to view hardware information

Check your computer's CPU information 
wmic cpu
Memory chip information 
wmic memorychip 
View the physical memory 
wmic memphysical list brief 
View logical memory 
wmic memlogical list brief 
View Cache Memory 
wmic memcache list brief 
View Virtual Memory 
wmic pagefile list brief
Disk Information 
View disk drive information 
wmic diskdrive 
View disk logical partition information 
wmic logicaldisk 
View disk volume information 
wmic volume 
Check the remaining disk space in C drive, for example [] 
fsutil volume diskfree c:
Motherboard information 
wmic baseboard
Screen information 
wmic desktopmonitor
BIOS information 
wmic bios
Sound information 
wmic sounddev
Card information 
WMIC nic 
Network protocol information 
wmic netprotocal
The computer's serial number 
wmic csproduct
State of the hardware accelerator 
sc query intelhaxm View intelhaxm state 
Does not open, you can enter sc start intelhaxm open intelhaxm accelerator.

Note: Estimated many of my friends have released no information on the card to view the command: 
I have not found wmic command to view the card Command, are found in the online patent lap view card information in dxdiag, the command bar and then added something

dxdiag View card information 
dxdiag - H: View help information using the command;
Command output text to the desktop 
dxdiag /t D:\d.txt 
After approximately five seconds d.txt view at the D

 

Fourth, under Window view hardware information other methods Syntax
systeminfo: detailed configuration information about the computer and its operating system, including detailed information about Windows system installation time patches, processor, memory, BISO, network card and IP address, but also the most commonly used of;
sysdm.cpl: open system properties [computer mouse to select -> right click -> properties].
dxdiag: open the DirectX diagnostic tool can display graphics card [information]
start msinfo32: open the system information window
devmgmt.msc: open the device Manager
taskmgr: open task Manager, or press Ctrl + Alt + Del) in the performance tab to see the physical memory and the pagefile
winver check the Windows version
V. batch files for hardware information
just recently saw a batch file, so you just learn some basic commands, Remember to command a section of a people who do not understand the program was a little trouble, here is my friend made a simple batch file to view hardware information under Window View

@echo off
color 0A
title CAPTURE COMPUTER INFO

echo.
echo whether to allow the program information acquiring portion computer [the CPU, memory, disk, BIOS, motherboards, sound, a display, a computer serial number, operating system]
echo.
echo agreed to press any key to continue ......
echo.
echo does not agree please close the dialog box directly ......
Pause > null

rem acquired computer cpu information
wmic cpu list brief /format:hform >> D:\computer.html
echo.

echo is access to computer information ......
wmic memorychip get Caption ,Tag ,ConfiguredClockSpeed ,DataWidth ,Speed ,SerialNumber ,Manufacturer /format:hform >> D:\computer.html 
echo.

echo is access to computer information ......
wmic diskdrive get Caption,CreationClassName ,SerialNumber, Signature,Size , Status , StatusInfo /format:hform >> D:\computer.html
echo.

echo is access to computer information ......
wmic logicaldisk get Caption , Description ,FileSystem , FreeSpace, Name,SystemCreationClassName , VolumeSerialNumber /format:hform >> D:\computer.html
echo.

echo is access to computer information ......
wmic baseboard get Caption , CreationClassName, Manufacturer, Name, Product ,SerialNumber,Status , Tag , Version /format:hform >> D:\computer.html
echo.

echo is access to computer information ......
wmic desktopmonitor get Caption,MonitorManufacturer , MonitorType , Name , PixelsPerXLogicalInch , PixelsPerYLogicalInch,Status /format:hform >> D:\computer.html
echo.

echo is access to computer information ......
wmic bios get BIOSVersion,Caption,Manufacturer , Name , OtherTargetOS,ReleaseDate,Status , Version /format:hform >> D:\computer.html 
echo.

echo is access to computer information ......
wmic sounddev get Caption , Manufacturer ,ProductName , Status /format:hform >> D:\computer.html 
echo.

echo is access to computer information ......
wmic csproduct get IdentifyingNumber /format:hform >> D:\computer.html 
echo.

echo is access to computer information ......
wmic os get Caption,FreePhysicalMemory , FreeSpaceInPagingFiles , InstallDate ,Manufacturer , Name /format:hform >> D:\computer.html 
echo.

echo is access to computer information ......
echo.
systeminfo >> D:\Systeminfo.txt

dxdiag /t D:\d.txt
echo turn on the computer disk D computer.html and computer.txt view basic information about your computer
echo.
echo Press any key to close the dialog box
Pause > null

 


Notes:
First create a new text in the table above will copy the code into the text file and then rename computer.bat (note that the file name extension is .bat), double click to open the can;
I would hardware basic information in tabular the form is displayed in an HTML file (computer.html), the information systeminfo print text in TXT (computer.txt); and are placed under the D drive, so that even people who know nothing batch commands can be very easy to use
----------------
Disclaimer: This article is the original article CSDN bloggers "black_bird_cn", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/black_bird_cn/article/details/80005935

Guess you like

Origin www.cnblogs.com/jinanxiaolaohu/p/12204110.html