Most voted "wmi" questions
Windows Management Instrumentation (WMI) is an API for managing the Windows operating system on local or remote computers.
Learn more…10 questions
Sort by count of
-
13
votes1
answer300
viewsControl the fan (fan) of the CPU in C#
How do I read and set the fan speed (fan) of the CPU and also read the current speed? I tried to use this code but also could not get result. [DllImport("Cimwin32.dll")] static extern uint32…
-
1
votes2
answers171
viewsI cannot display the modification date of a directory with powershell
Hello, I am trying to display the date of creation and modification of a directory using the powershell, I am using the command: Get-WmiObject Win32_Directory -filter 'Drive="C:" and Path="\\"'…
-
1
votes1
answer55
viewsado.net version of iis
Good, I have the following code: private void AspNet35() { String sWebSite = "W3SVC/1"; DirectoryEntry site = new DirectoryEntry("IIS://localhost/" + sWebSite + @"/Root"); try {…
-
1
votes2
answers86
viewsPHP wrapper wmic
I’m currently using wmic on Linux to query data on a Windows machine. The web interface of the query system is written in PHP, whereas the core that makes the query is written in Python, because I…
-
1
votes1
answer291
viewsAccess denied for remote access via WMI
Hello! I am trying to perform a remote access via WMI on a server with domain other than my machine, but when I try to access the following code is returned: Access denied. (0x80070005…
-
0
votes0
answers27
viewsError on some computers when trying to capture processor voltage by WMI
On only a few computers while running my hardware specification program it accuses an error on the 155 line. public static String voltage() { String Ic = String.Empty; foreach (var item in new…
-
0
votes0
answers195
viewsHealthcheck in PHP
I built a PHP code that requires a web page, checks the returned HTTP code and lets you search for a string present in the html source. I used CURL for this. The code is basically this: class…
-
0
votes1
answer140
viewsProblem with comma cmd
C:\Windows\system32>wmic /node:"BR1102013" /user:"vedadmin" /password:"i@M}r43/3g%s,L;" product get name , - Alias not found. Can someone tell me why I can’t use the comma and how to fix it?…
-
0
votes1
answer458
viewsMonitoring of Printing Spool
I’m trying to make an application that monitors my printer and when the user sends a print of any program, it captures that information, pauses the print and opens a new window for the user to enter…
-
0
votes1
answer122
viewsProblem when trying to get CPU temperature using WMIC
I’m creating a program for Windows and need to get the user’s CPU temperature. For this task I am using the wmic with the following code in batch: @echo off for /f "delims== tokens=2" %%a in ( 'wmic…