Top "Wmi" questions

Windows Management Instrumentation (WMI) is an API for managing the Windows operating system on local or remote computers.

How do I use WMI to get the current OU of a computer and list all other computers in that OU?

I'm using WMI and am trying to find a powershell script that will allow me get the OU of the …

powershell active-directory wmi ou
rename computer programmatically c# .net

I need to rename my computer via .net application. I have tried this code: public static bool SetMachineName(string newName) { …

c# .net wmi kernel32
Query WMI remotely with PHP

My current code looks like this: define ( 'CPU_NAME', 'remote_server' ); $obj = new COM ( 'winmgmts:{impersonationLevel=impersonate}//' . CPU_NAME . …

php windows wmi wmi-query
wmic diskdrive get serialnumber -> invalid xml output

I want to read the name and the serial number of my hard drives. I stumbled upon wmic but I'm …

wmi serial-number wmic
Powershell Set Lid Close Action

I wanted to automate setting the action Windows 7 takes when the lid is closed on my work laptop, as this …

windows powershell wmi
Access WMI via Python from Linux

I'm looking for a way to access the WMI (Windows Management Instrumantation) from a Pythonscript remotely from a Linux machine (…

python linux wmi wmi-query
WMI Win32_BaseBoard SerialNumber

I used Win32_BaseBoard SerialNumber property to obtain the motherboard serial number and it work most of the time, but …

wmi motherboard
Pass Credentials to WMI Call in VBScript

I have VBScript inside a HTA getting the ping status from a local WMI call.. I also have a function …

vbscript wmi credentials hta
Determine Network Adapter Type via WMI

I'm using WMI (Win32_NetworkAdapter) and trying to get the details of attached physical network adapters either wired or wireless …

c# .net wmi wmi-query
Use WMIC to query local administrator group members

Does anyone know of a way to query members of the local admin group using WMIC (On a remote server)? …

windows command wmi wmic