How can I list computers with a specific service status?

0
7
Asked By TechSavvyNinja42 On

I'm looking to get a list of all computers, whether the service is enabled or disabled. Normally, I'd tackle this with PowerShell by running a script that queries Active Directory for computers in specific Organizational Units and then checking their service status. However, with around 500 machines, this approach feels cumbersome, especially since it only accounts for machines that are currently online and have remote PowerShell features turned on. I'm wondering if there's an alternative tool or report in Intune that could simplify this process for me.

5 Answers

Answered By InfoGuru2024 On

Just a heads-up, many tools come with similar limitations. They will only capture data if that information was collected prior, so keep that in mind!

Answered By ScriptMaster3000 On

If license permits, you could also use a remediation script. But if you want a quick solution, a simple script that just checks and returns an exit code if the service isn't running could do the trick. Just remember that this would need a device reboot and may not provide immediate reports.

Answered By CodeWhisperer99 On

A good approach would be to use a detection script without remediation. This way, you can just identify which services are running without trying to change anything. If you have an E3/A3 license or higher, that'd work really well for your needs.

Answered By MonitorGenius88 On

If you have a proper monitoring system in place, it might be more efficient to create a specific check for that service. From there, you can generate a collection directly through your monitoring suite. It's a streamlined way to get the info you need.

Answered By AdminPro2023 On

Do you utilize a remote monitoring management tool? If you're using something like PDQ Inventory, I could help you set up a dynamic collection very quickly—shouldn't take more than five minutes!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.