Generate a Report via PowerShell for Intune
Could you please advise me on how to generate a report via PowerShell for Intune when my script detects any service that is stopped or running?
I can create a custom compliance policy that will flag the device as ‘non-compliant’ when it detects that the service is stopped or unavailable. Additionally, I can create a remediation script for installing the missing service.
However, I specifically want a list of devices where a particular service isn’t running.
I appreciate your assistance in advance. It’s truly impressive to see such a collaborative community.
Posted by Akter Hossain in HTMD FB Group