- Understanding wmic
- Configuring the Firewall to Allow wmic
- Running wmic
- Modifying the Format with the /format Switch
- Retrieving Help from wmic
- Understanding Aliases
- Using Verbs
Configuring the Firewall to Allow wmic
If you want to run wmic commands on remote computers, you may need to enable the firewall on the remote connections. The primary error you'll see that indicates that wmic commands are prevented by the firewall is "The RPC server is unavailable."
You can configure the firewall to allow wmic commands by allowing the WMI program through the firewall in the proper profile. Figure 16-1 shows the window for doing so, which you can reach by starting the Control Panel, entering Firewall in the Search Control Panel text box, and selecting Allowing a Program Through Windows Firewall.
Figure 16-1 Enabling Windows Management Instrumentation in the Firewall