Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
216 views

I wrote this batch to get the number of active processes given a certain command line value, but the not equal operator I use in the query to exclude WMIC.exe itself doesn't work, and the batch ...
0 votes
1 answer
44 views

I have the following WMI query: SELECT PartComponent FROM Win32_GroupUser WHERE GroupComponent = "Win32_Group.Domain='DOMAIN_NAME',Name='Opérateurs d'assistance de contrôle d'accès'" The ...
1 vote
0 answers
48 views

I mocked up the following ASSOCIATORS OF query in C# to get the Win32_DiskPartition instance associated with a Win32_DiskDrive instance: var deviceId = myDiskDrive.DeviceId; var query = $"...
0 votes
0 answers
45 views

The code written in vb6 was working then just suddenly stopped and started throwing an error "Automation error -2147217406" I don't know what could have caused it to stop working. It's using ...
1 vote
0 answers
161 views

long time reader, first time poster here. Also, this is my first time working on a WMI query project, so forgive me if I'm a bit naive. I'm using a 3rd party tool (Tanium) to run a WMI query on a ...
orchardl's user avatar
1 vote
1 answer
99 views

I am trying to subscribe to Event 10000 in the Microsoft-Windows-NetworkProfile/Operational log using WMI, similar to how I am subscribing to events in the "Windows Logs/Application" log. ...
1 vote
0 answers
51 views

I have a wpf application that detects the USB removable devices. We have another service(c# and C++) which takes care of the ejection of the drives. This service is being called by the wpf app. When ...
Raj's user avatar
  • 11
1 vote
0 answers
151 views

Scenario When I run: Get-CimInstance -Namespace "root/subscription" -Query "Select * from __FilterToConsumerBinding" ...It clearly shows this CimInstance exists: Consumer ...
0 votes
1 answer
736 views

I am trying to get an Application Deployment's all tab properties using PowerShell command. Please see below image to get more idea about what I am talking about. [ Here, I need each setting of each ...
0 votes
1 answer
169 views

I am making a web application to monitor certain servers and part of that is monitoring specific services that should be running in those servers. I made a simple python script that tests the ...
1 vote
1 answer
535 views

I need to get information about and manipulate instances of a third-party program with the executable filename strModule for which hundreds of instances are spawned. Each instance is spawned with ...
0 votes
0 answers
215 views

I have this code that make a call to WMI using a query to fecth the display information: var success = true; List<Display> displays = new List<Display>(); // Query ...
0 votes
1 answer
222 views

This has had me pulling my hair out for two days. I'm trying to familiarize myself with WMI events, so I wrote some code to create a permanent extrinsic event. The filter, consumer and binding are all ...
0 votes
1 answer
1k views

relatively new to Powershell. I'm trying to output the Description and IPAddress values from the following code, without it outputing the IPV6 addresses with it. I want the Description and the ...
0 votes
0 answers
137 views

I'm using a powershell query with gwmi to retrieve some info on usb controllers, i can get most of the infos from the object properties, but the property "Parent" is returning empty, while ...

15 30 50 per page
1
2 3 4 5
...
37

AltStyle によって変換されたページ (->オリジナル) /