# microsoft/shell-intune-samples

Sample shell scripts for Intune admins.

Repository: https://github.com/microsoft/shell-intune-samples
Canonical: https://ross.abutalabs.com/products/shell-intune-samples
Language: Shell
License: MIT
License Family: permissive
Topics: intune, macos, app-management, line-of-business, shell-scripting, bash
Last push: 2026-08-31T20:28:58+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 2254, "days_push": 2, "days_rel": 412, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1092, forks 306 (observed 2026-09-01T02:14:04.963612+00:00)

## What it is
A Microsoft-maintained collection of sample shell scripts for managing macOS and Linux devices through Microsoft Intune. It provides educational examples covering app management, configuration, custom compliance, and custom attributes.

## Use cases
- manage macos devices with intune shell scripts
- deploy apps via intune on macos
- write custom compliance scripts for linux in intune
- configure macos devices with intune custom profiles
- learn intune shell scripting examples
- automate line-of-business app management in intune

## When to choose
- you administer macOS or Linux devices with Microsoft Intune and need ready-made script examples
- you want to learn how to use Intune shell scripts, custom attributes, or custom compliance settings
- you need a starting point to adapt for your own device management automation

## When to avoid
- you need production-ready, fully supported tooling rather than educational samples
- you manage only Windows devices, as this repo focuses on macOS and Linux
- you want a polished application or CLI product instead of example scripts

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, configuration-management, security
- domain: developer-tools, apple-ecosystem, operating-systems
- platform: cli
- tags: intune, shell-scripts, mdm, device-management, samples, bash, microsoft, automation, macos, linux

## Member repositories
- microsoft/shell-intune-samples (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:04.963612+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:22.302091+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/shell-intune-samples (fetched 2026-09-01T02:14:04.963612+00:00, sha 7ea977e59235)
- Data as of 2026-08-30T08:39:29.467469+00:00.
