Difference between revisions of "Windows/wmic"
< Windows
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| Line 12: | Line 12: | ||
R9HWGD7 | R9HWGD7 | ||
</pre> | </pre> | ||
| + | |||
| + | == Get CPU Name == | ||
| + | |||
| + | wmic cpu get name | ||
| + | |||
| + | <pre> | ||
| + | E:\Profiles\myname>wmic cpu get name | ||
| + | Name | ||
| + | Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz | ||
| + | Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz | ||
| + | </pre> | ||
| + | |||
| + | ref: [https://community.intersystems.com/post/decoding-intel-processor-models-reported-windows] | ||
| + | |||
| + | == Get Memory Capacity == | ||
| + | |||
| + | For a 64GB system: | ||
| + | |||
| + | C:\>wmic computersystem get totalphysicalmemory | ||
| + | TotalPhysicalMemory | ||
| + | 68587692032 | ||
| + | |||
| + | C:\>wmic memorychip get devicelocator, capacity | ||
| + | Capacity DeviceLocator | ||
| + | 34359738368 PROC 1 DIMM 12 | ||
| + | 34359738368 PROC 2 DIMM 12 | ||
== Windows QFE == | == Windows QFE == | ||
Latest revision as of 15:34, 15 December 2023
Contents
wmic
Windows Management
WARNING: WMIC is deprecated! (warning from "wmic /?")
Get Motherboard Serial Number
C:\> echo "" | wmic bios get serialnumber SerialNumber R9HWGD7
Get CPU Name
wmic cpu get name
E:\Profiles\myname>wmic cpu get name Name Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
ref: [1]
Get Memory Capacity
For a 64GB system:
C:\>wmic computersystem get totalphysicalmemory TotalPhysicalMemory 68587692032
C:\>wmic memorychip get devicelocator, capacity Capacity DeviceLocator 34359738368 PROC 1 DIMM 12 34359738368 PROC 2 DIMM 12
Windows QFE
See Windows_10/Windows_Update_History
wmic qfe list
List Disk and Network Drives
Loop volume verify: [2]
@echo off rem listdrives.bat by Kenneth Burgener <kenneth@kennethburgener.org> © Nov 2012 echo Available Drives: for %%a in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( rem echo %%a:: vol %%a: 1>NUL 2>NUL && echo %%a: )
Windows Vista and Windows 7: [3]
wmic logicaldisk get name
List physical drives like \\.\PHYSICALDRIVE1 [4]
wmic diskdrive list wmic diskdrive list brief