Window Management Instrumentation permet d'obtenir une foule d'informations sur un ordinateur.
Voici quelques exemples.
Syntaxe :
WMIC alias list [brief] WMIC alias get attribut [, attribut ]
wmic ComputerSystem list brief Domain Manufacturer Model Name PrimaryOwnerName TotalPhysicalMemory WORKGROUP TOSHIBA SATELLITE L50-A-1F7 MYCOMPUTER myname@yahoo.com 8497602560 wmic os list brief BuildNumber Organization RegisteredUser SerialNumber SystemDirectory Version 9600 myname@yahoo.com 00000-11111-22222-33333 C:\Windows\system32 6.3.9600
wmic cpu list brief Caption DeviceID Manufacturer MaxClockSpeed Name SocketDesignation Intel64 Family 6 Model 60 Stepping 3 CPU0 GenuineIntel 2401 Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz SOCKET 0
wmic MemoryChip get BankLabel, Capacity, DeviceLocator, FormFactor, Manufacturer, PartNumber BankLabel Capacity DeviceLocator FormFactor Manufacturer PartNumber BANK 0 4294967296 ChannelA-DIMM0 12 Samsung M471B5173DB0-YK0 BANK 2 4294967296 ChannelB-DIMM0 12 Samsung M471B5173DB0-YK0
wmic DiskDrive list brief Caption DeviceID Model Partitions Size TOSHIBA MQ01ABD100 \\.\PHYSICALDRIVE0 TOSHIBA MQ01ABD100 4 1000202273280 wmic volume list brief Capacity DriveType FileSystem FreeSpace Label Name 987273097216 3 NTFS 609630302208 TI31255400A C:\ 1073737728 3 NTFS 672444416 System \\?\Volume{55b5f8dc-699a-11e3-8f88-0c54a5f08ef1}\ 11617013760 3 NTFS 1048625152 Recovery \\?\Volume{ccb2574e-9090-11e3-b5c6-2025643567dc}\ 5 D:\
wmic nic list brief AdapterType DeviceID MACAddress Name NetworkAddresses ServiceName Speed Ethernet 802.3 0 20:25:64:35:67:DC Qualcomm Atheros AR8171/8175 PCI-E Gigabit Ethernet Controller (NDIS 6.30) L1C 1073741824 1 Microsoft Kernel Debug Network Adapter kdnic Tunnel 2 Teredo Tunneling Pseudo-Interface tunnel 100000 Tunnel 3 Carte Microsoft ISATAP tunnel 100000 Ethernet 802.3 5 28:E3:47:5C:CA:57 Qualcomm Atheros AR956x Wireless Network Adapter athr 1073741824 Ethernet 802.3 6 1A:E3:47:5C:CA:57 Microsoft Wi-Fi Direct Virtual Adapter vwifimp 922337203685477580 Ethernet 802.3 7 28:E3:47:5D:8D:A7 Bluetooth Device (Personal Area Network) #2 BthPan 3000000 Ethernet 802.3 9 08:00:27:00:60:79 VirtualBox Host-Only Ethernet Adapter VBoxNetAdp 100000000 Ethernet 802.3 10 28:E3:47:5C:CA:57 VirtualBox Bridged Networking Driver Miniport VBoxNetFlt Ethernet 802.3 11 20:25:64:35:67:DC VirtualBox Bridged Networking Driver Miniport VBoxNetFlt 12 Carte Microsoft ISATAP 13 Carte Microsoft ISATAP
wmic product get name, vendor Name Vendor EudraVigilance Client Application Emea Microsoft Office Microsoft Corporation TOSHIBA Password Utility Toshiba Corporation TOSHIBA Function Key Toshiba Corporation TOSHIBA Desktop Assist Toshiba Corporation Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 Microsoft Corporation TOSHIBA System Driver Toshiba Corporation Qualcomm Atheros Bluetooth Suite (64) Qualcomm Atheros Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219 Microsoft Corporation Intel® Trusted Connect Service Client Intel Corporation Toshiba TEMPRO Toshiba Europe GmbH DTS Sound DTS, Inc. Intel(R) Rapid Storage Technology Intel Corporation TOSHIBA eco Utility Toshiba Corporation Java 8 Update 51 (64-bit) Oracle Corporation Java SE Development Kit 7 Update 55 (64-bit) Oracle Java SE Development Kit 8 Update 25 (64-bit) Oracle Corporation TOSHIBA Start Screen Option Toshiba Corporation TOSHIBA Service Station Toshiba Corporation Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161 Microsoft Corporation Adobe Refresh Manager Adobe Systems Incorporated Adobe Reader XI (11.0.12) - Français Adobe Systems Incorporated Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161 Microsoft Corporation TOSHIBA System Settings Toshiba Corporation Microsoft Visual C++ 2015 x64 Minimum Runtime - 14.0.22816 Microsoft Corporation Alcor Micro USB Card Reader Alcor Micro Corp. Microsoft Visual C++ 2012 x64 Additional Runtime - 11.0.61030 Microsoft Corporation OpenOffice 4.0.1 Apache Software Foundation Google Update Helper Google Inc. TOSHIBA PC Health Monitor Toshiba Corporation Google Update Helper Google Inc. Oracle VM VirtualBox 4.3.22 Oracle Corporation Microsoft Visual C++ 2015 x64 Additional Runtime - 14.0.22816 Microsoft Corporation Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.61030 Microsoft Corporation Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.61030 Microsoft Corporation Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61030 Microsoft Corporation TOSHIBA VIDEO PLAYER Toshiba Corporation TOSHIBA Display Utility Toshiba Corporation IDT Audio Driver IDT NVIDIA PhysX NVIDIA Corporation Java Auto Updater Oracle Corporation
wmic process list brief HandleCount Name Priority ProcessId ThreadCount WorkingSetSize 0 System Idle Process 0 0 8 4096 1298 System 8 4 161 13299712 44 smss.exe 11 360 2 503808 561 csrss.exe 13 544 11 2449408 194 wininit.exe 13 636 1 3190784 290 services.exe 9 680 2 6389760 1223 lsass.exe 9 688 5 12550144 823 svchost.exe 8 828 97 14528512 524 svchost.exe 8 872 8 9965568 159 nvvsvc.exe 8 948 2 4472832 933 svchost.exe 8 388 24 26025984 3035 svchost.exe 8 552 40 64159744 574 svchost.exe 8 788 18 20889600 734 svchost.exe 8 1052 25 107413504 239 stacsv64.exe 8 1096 10 2854912 670 svchost.exe 8 1324 16 16113664 142 GFNEXSrv.exe 8 1500 10 2932736 364 spoolsv.exe 8 1632 9 4702208 545 svchost.exe 8 1656 21 31424512 81 armsvc.exe 8 1784 2 954368 93 AdminService.exe 8 1920 3 1777664 346 svchost.exe 8 1948 9 9048064 250 dts_apo_service.exe 8 1968 6 4423680 320 dasHost.exe 8 2000 3 15802368 115 HeciServer.exe 8 2184 2 1159168 261 NvNetworkService.exe 8 2288 3 4599808 443 nvstreamsvc.exe 8 2328 2 1896448 156 oravssw.exe 8 2732 2 2019328 151 svchost.exe 8 3024 6 4947968 78 TODDSrv.exe 8 3044 4 1126400 594 MsMpEng.exe 8 2388 27 141381632 166 TecoService.exe 8 2468 9 3784704 590 WmiPrvSE.exe 8 3112 15 39579648 87 unsecapp.exe 8 3248 2 1658880 263 NisSrv.exe 8 3324 7 3096576 527 svchost.exe 8 3428 17 14151680 100 svchost.exe 8 3484 3 3641344 604 SearchIndexer.exe 8 4812 12 24731648 139 GamesAppIntegrationService.exe 8 3240 4 2711552 64 IntelMeFWService.exe 8 5276 2 77824 73 jhi_service.exe 8 2980 2 94208 301 LMS.exe 8 4356 4 2723840 175 TPCHSrv.exe 8 3268 18 1957888 313 TMachInfo.exe 8 4340 6 20422656 589 mysqld.exe 8 6400 27 22773760 116 httpd.exe 8 920 4 4653056 270 httpd.exe 8 1264 67 9805824 127 MpCmdRun.exe 8 6552 3 6029312 342 csrss.exe 13 464 11 27557888 155 winlogon.exe 13 6532 2 5824512 208 dwm.exe 13 1476 6 29614080 252 nvxdsync.exe 8 200 8 17276928 206 nvvsvc.exe 8 5560 4 13377536 195 nvstreamsvc.exe 8 6328 5 9936896 50 conhost.exe 8 4756 2 3809280 237 taskhostex.exe 8 7504 8 10887168 2154 explorer.exe 8 6068 110 108421120 196 NvBackend.exe 8 7852 6 18468864 311 SkyDrive.exe 8 8180 20 13733888 175 nvtray.exe 8 3424 4 10727424 106 igfxtray.exe 8 1832 1 6094848 99 igfxsrvc.exe 8 7004 2 6811648 105 hkcmd.exe 8 2264 1 6025216 116 igfxpers.exe 8 5948 2 6291456 140 TssSrv.exe 8 6020 1 8364032 74 TecoResident.exe 8 7436 3 5443584 173 TCrdMain_Win8.exe 8 6300 6 11747328 437 SynTPEnh.exe 10 5664 8 15872000 216 GWX.exe 8 6676 2 753664 37 SynTPHelper.exe 10 1444 1 3276800 87 AmIcoSinglun64.exe 8 2052 1 5713920 91 readLM.exe 8 6072 1 6021120 93 jusched.exe 8 2036 1 5226496 123 TPCHWMsg.exe 8 1716 2 7417856 171 SettingSyncHost.exe 6 1312 4 2904064 399 ToshibaServiceStation.exe 6 2072 7 6852608 195 notepad++.exe 8 3436 4 21172224 30 cmd.exe 8 5748 1 2564096 106 conhost.exe 8 7512 2 9338880 668 chrome.exe 8 4268 26 55107584 258 chrome.exe 8 7812 20 41426944 219 chrome.exe 8 5868 10 29679616 122 WmiApSrv.exe 8 7516 3 5578752 104 msiexec.exe 8 4728 2 5926912 139 WMIC.exe 8 5928 4 8626176 127 WmiPrvSE.exe 8 5884 6 6127616