Windows Management Instrumentation (WMI) is an API for managing the Windows operating system on local or remote computers.
Dim strComputer, objReg, ScriptName, strKeyPath, strValueName, strValue Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &…
vbscript wmi wmi-queryI want to detect when the user plugs in or removes a USB sound card. I've managed to actually catch …
c# usb wmi plug-and-playHow can I determine my time zone offset using VBScript? The Windows OS provides the TZ environment variable. For Eastern …
vbscript timezone wmi utc timezone-offsetIn certain cases the need to retrieve MSI upgrade codes for deployed packages can arise. Common scenarios: I took over …
powershell wix windows-installer installation wmiI would like to know when a interface has been disabled. If I go into the windows manager and disable …
c++ windows winapi networking wmiI want to get the hardwired serial number from the hard disk but NOT using WMI. I tried using WMI …
c# .net vb.net wmi hard-driveI've got some troubles with Get-WmiObject and usage of this object. In case, I'm connecting to remote computer - which …
powershell wmi rpc remote-administration win32-processI am using Delphi 2010, and when I created a console application that prints "Hello World", it takes 111 kb. If I …
delphi wmiRecently I've been getting this error, and I have no idea what triggered it. The documentation I found regarding this …
powershell wmi windows-server-2012-r2