JayRHa/intune-remediation-scripts
JayRHa/intune-remediation-scripts has 668 GitHub stars and 129 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-15 22:35 UTC. Last push 2026-10-14.
Measured star growth
- in 24h
- +1
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Detection and remediation scripts for Microsoft Intune endpoint management.
Developer ToolsREADME.md
OriginalWebsite · LinkedIn · X · YouTube
Intune remediation scripts
Type: Collection · Status: Community project
Overview
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.
Quickstart
Deploy a script package in Intune
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

Project Context
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.
How It Works
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
Contributing
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 |

Contributors
Thanks to everyone who has contributed to this project!
Disclaimer
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 :star:
License
This project is available under the terms in LICENSE.
Articles and guides · Repository index
Bulk import
Use the optional import tool to preview and import selected packages without assigning them to devices.