wmi-query
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 分类:问答Query WMI remotely with PHP
My current code looks like this: define ( \'CPU_NAME\', \'remote_server\' ); $obj = new COM ( \'winmgmts:{impersonationLevel=impersonate}//\' . CPU_NAME . \'/root/cimv2\' );[详细]
2023-01-18 18:11 分类:问答Java accessing WMI as a particular user
I am trying to write a Java application that will query the WMI on windows hosts within domains开发者_运维百科 to obtain their mac address and dns name. I can run the script via exec or using a few of[详细]
2023-01-12 04:27 分类:问答How can I add programatically service dependencies to an installed Window service?
How can I add programaticallyservice dependencies to an installed Window service ? It would really helpful, If someone suggest solution using WMI through the System.Management nam开发者_运维技巧espac[详细]
2023-01-11 05:34 分类:问答USE WMI and WMQ to get Logical Disk and Partition Information from Win32_PnPEntity of SERVICE type USBSTOR
I am detecting when our proprietary USB device is attached to a PC.When we detect this, we get the related Win32_PnPEntity.We want to use this Win32_PnPEntity as a source of the following information:[详细]
2023-01-10 01:51 分类:问答get-wmiobject sql join in powershell - trying to find physical memory vs. virtual memory of remote systems
get-wmiobject -query \"Select TotalPhysicalMemory from Win32_LogicalMemoryConfiguration\" -computer COMPUTERNAME >>output.csv[详细]
2022-12-29 19:55 分类:问答In WMI, can I use a join (or something similar) to acquire the IisWebServer object for a site, given server name and deployment location
Given a server name and a physical path, I\'d like to be able to hunt down the IISWebServer object and ApplicationPool. Website url is also an acceptable input.[详细]
2022-12-19 08:58 分类:问答use wmi to get newest Windows log events
I want to use WMI to monitor the Windows event log and开发者_StackOverflow中文版 get newest log events every 15 minute. Although I can use WQL to do the query, it does not have the keywords such as or[详细]
2022-12-18 01:42 分类:问答How can I test whether or not "Microsoft Windows 7 Home Premium" is the operating system using VBScript?
My first attempt is to query Win32_OperatingSystem for the caption, and test whether the caption \"equals\" the operating system I am testing for:[详细]
2022-12-17 16:50 分类:问答WMI querying issues in Python
I\'ve recently been working on a Squish test script, and trying to do something like what\'s described in the solution at:[详细]
2022-12-17 04:59 分类:问答