

So you’ll notice that the list of services you have running is a bit difficult to sift through as there are a lot of them. service where state=”Running” get Name, DisplayName, PathName, ProcessID.


To get to the WMIC command prompt, simply go to a Windows command window and type WMIC.Ĭommand to show you all of your services that are runningĬommand to show you specific data about your services that are running All of the statements below are run while at the WMIC command prompt. Background – Regular WHERE clauseįirst, let’s look at using WMIC without wildcards for comparison. For those of you comfortable with the SQL syntax for the same task, this will be quite familiar. This feature of the command structure will allow you to use like conditions in a where clause to look for objects that match a specific pattern. This is a quick post to provide some detail on using the wildcard search for WMIC.
