wql
Calling WMI methods via a WQL query
I\'d like to call a static method via WMI using WQL (bas开发者_高级运维ically the equivalent of the \"Execute Method\" button in wbemtest.exe), but I\'m having trouble finding syntax examples.[详细]
2023-03-11 03:24 分类:问答Changing WMI/WQL results output
Now this is a odd one but as I don\'t know WMI/WQL I hope someone can help and spot a simple mistake..[详细]
2023-02-25 01:06 分类:问答Search For Win32_Directory using the Volume Guid
I am trying to check if a directory exists on a remote computer by using the Volume GUID rather than the Volume Name. Is there any way in WMI to accomplish this? I have a tried a few different approac[详细]
2023-02-20 20:17 分类:问答Strange results from win32_NetworkAdapterConfiguration
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing;[详细]
2023-02-13 10:00 分类:问答query on Win32_NTLogEvent WHERE Logfile = 'Security' works only on remote machine
I\'ve have a problem using the code below to retrieve data from the security log event of my local machine. I tested on various computers: the local machine is a windows xp sp3. The query has no error[详细]
2023-01-30 00:12 分类:问答Using WQL to Limit Results on a String Match
I\'m working on developing a WMI query for my application.It needs to find the assigned virtual COM port for a given VID/PID.My query currently looks like this:[详细]
2023-01-22 15:29 分类:问答Reliably get Latest Event Log Record with WQL
I have written an application which collects windows logs from linux, via the Zenoss wmi-client package.[详细]
2023-01-19 02:52 分类:问答WMI EventLog Time interval
Hie all, I\'m trying to get eventlog entries using WMI and WQL. I can get the right log with the right sourcename of itand so on, but i can make a select query to only get result for the 5 or 10 pas[详细]
2023-01-13 16:22 分类:问答How to join in a WMI Query (WQL)
I want to get the serial number of the boot-harddisk via a WQL query. The boot-partition can be retrieved using the following query:[详细]
2023-01-06 00:39 分类:问答When querying the Win32_NTLogEvent Class from WMI with WQL is the TimeGenerated property based on Local time of the computer or GMT?
I am writing a C# windows service that is doing some churning through the eventlog on a few domain controllers. Some of them are Windows Server 2003 and some are Windows Server 2008. Upon the service[详细]
2023-01-04 07:34 分类:问答