How to Access WMI to Get Information About Remote Computersby Contributor
WMI is Microsoft's built-in system for managing and controlling remote computers and servers. You can use the Command Prompt to access WMI and obtain information about other remote computers and servers.
Navigate to the "Start" menu and select "Run." In the Run dialog, type "cmd" (without quotes) and click "OK." The Command Prompt dialog opens.
Type "wmic" (without the quotes) and press "Enter." The WMI Runtime opens.
Specify the desired server by typing:
/NODE:"servername or IP"
Press "Enter." Replace "servername or IP" with the host name of the computer you want to connect to or its IP address. Make sure to keep the quotes around the name or IP. The command indicates to WMI to connect to the specified computer.
Run WMI commands to get information from that computer.
To view the programs running on the computer, type "process" (without quotes).
To view the services running on the computer, type "service" (without quotes).
- check You can run many additional commands within the WMI namespace. To get a list of those commands (or "aliases"), type "/?" (without quotes) within the WMI command line.