The largest community-driven collection of Intune Endpoint Analytics remediation scripts.
Detect. Remediate. Automate.
90+ Scripts | PowerShell | Ready to Deploy | Community Maintained
This repository provides a growing library of production-ready detection and remediation scripts for Microsoft Intune Endpoint Analytics. Each script package includes a detection script and (where applicable) a remediation script that you can deploy directly to your environment.
Browse the folders above to explore all available scripts -- from security hardening and Defender configuration to disk cleanup, Teams management, and more.
Endpoint Analytics Remediation Scripts is a deployable script library for Intune administrators who want ready-to-use detection and remediation packages. The repository is organized around script folders, where each package can be reviewed, tested, and then deployed through Microsoft Intune proactive remediations.
- Use it when endpoint issues should be detected automatically and remediated consistently.
- Each script package is designed to separate detection from remediation so administrators can validate behavior before rollout.
- The repository acts as both a community script catalog and a practical deployment reference.
Administrators pick a script package, review the detection and remediation logic, upload it to Intune, and assign it to the intended device scope. Endpoints run detection first; remediation runs only when the detection result indicates that action is needed.
flowchart LR
Library[Script package library] --> Review[Review detection and remediation]
Review --> Intune[Upload to Microsoft Intune]
Intune --> Assignment[Assign to device scope]
Assignment --> Detection[Run detection script]
Detection --> Decision{Issue detected?}
Decision -- No --> Report[Report compliant result]
Decision -- Yes --> Remediation[Run remediation script]
Remediation --> Verify[Verify endpoint state]
Verify --> Report
-
Open the Intune Portal and navigate to Devices > Scripts and remediations
-
Click + Create
-
Enter a Name, Description, Publisher, and Version, then click Next
-
Upload the Detection script (and optionally the Remediation script), then click Next
-
Configure Scope tags and Assignments, then click Review + create
We love contributions from the Intune community! Here's how you can help:
| How to contribute | |
|---|---|
| Got an idea? | Open an issue describing the script you'd like to see |
| Got a script? | Use the template in 0 - Template and submit a pull request |
Thanks to everyone who has contributed to this project!




