WMI quick examples:
1. Execute WQL in PowerShell Open PowerShell and use object Get-WmiObject with -Query argument.
Examples:
PS C:\Users\aurlen-win7-13> Get-WmiObject -Query "select * from Win32_ComputerSystem" Domain : S301M Manufacturer : LENOVO Model : 7034CP2 Name : T7PCAG935 PrimaryOwnerName : aurlen.user TotalPhysicalMemory : 3064270848
Get-WmiObject -Query "Select EventCode,SourceName,TimeGenerated,Type,InsertionStrings,Message,Logfile from Win32_NTLogEvent"