windows:wmi
Table of Contents
WMI
context
dit document geeft enkele nuttige WMI queries
memory
wmic path win32_physicalmemory
wmic path Win32_PhysicalMemoryArray
pyscical disk
wmic path win32_DiskDrive get SerialNumber, Manufacturer, Name
operating system
wmic os get Caption, Version, BuildNumber, OSArchitecture
anti-virus
wmic /namespace:\\root\SecurityCenter path AntiVirusProduct > lansweeperwmi1.txt wmic /namespace:\\root\SecurityCenter2 path AntiVirusProduct > lansweeperwmi2.txt
drive mappings
wmic netuse
Lansweeper only scans persistentdrive mappings
Windows product key
wmic path softwarelicensingservice get OA3xOriginalProductKey
uptime
wmic /namespace:\\root\cimv2 path Win32_PerfFormattedData_PerfOS_System get systemuptime
printers
<fixme> Get-WmiObject -class Win32_Printer <fixme>
windows/wmi.txt · Last modified: 2024/11/16 18:14 by 127.0.0.1