Service Status
What is the best why to create a collection based on a service name and its status. I would like to create a group with a given service name and the status set to disabled.
-
I have this same issue, I'm trying to create a dynamic collection of computers that have a service with the title "Windows Defender" which has the status of "Running", but it seems to evaluate each filter independently and gives me a result containing machines that have a service called "Windows Defender" and also *any* service with a status of "Running". I can't nest it so that it does what I want.
-
You can also use the "Any" and then the "All". I've attached a collection that shows the following (it's a quick throw together so might contain errors, but you can modify for whatever service you might need):
- What machines have the WinDefend service (and those that don't)
- What machines have WinDefend service Running
- What machines have WinDefend service Stopped
- What machines have WinDefend set to Automatic
- What machines have WinDefend set to Disabled
- What machines have WinDefend set to Manual
EDIT 1/4/2016:
I have written a KB article that covers this in quite a bit more depth:
http://support.adminarsenal.com/entries/98578518-Create-a-Dynamic-Collection-to-Gather-Windows-Service-Information
Please sign in to leave a comment.
Comments
6 comments