Website · LinkedIn · X · YouTube
Type: Collection · Status: Community project
Detection and remediation scripts for Microsoft Intune endpoint management.
Detect. Remediate. Automate.
This repository provides a growing library of 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.
-
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
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
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!
This is a community repository. There is no guarantee for the scripts provided here. Please review and test thoroughly before deploying to production environments.
If this repo helps you, consider giving it a ⭐
This project is available under the terms in LICENSE.
Articles and guides · Repository index
Use the optional import tool to preview and import selected packages without assigning them to devices.




