Apple Enterprise Management

SS MacAdmin

SS — Super Shitty to the Mac

Deep-dive automation guides for Intune, Azure Automation, and Apple management. Built for enterprise Mac admins.

defender_check.sh
#!/bin/bash
# macOS Defender Check · SS Mac Admin
 
MDE_STATUS=$(mdatp health \
  --field real_time_protection_enabled)
 
if [[ "$MDE_STATUS" == "true" ]]; then
  echo "✓ RTP enabled"
else
  echo "✗ RTP disabled — remediating"
  mdatp config real-time-protection \
    --value enabled
fi
 
# exit 0 → Intune compliant

Recent Posts

All Posts

DDM, Intune and You

All you need to know about DDM

Meet Apple Business

Good bye ABM

Building a Zero-Config ESP Framework for macOS and Microsoft Intune

SwiftDialog is the hero

macOS Defender Check

Check your defender configuration automatically

Automated iOS/macOS Compliance Policy

Use azure runbook to update osMinVersion in Intune!

Built by a
Mac Admin,
for Mac Admins.

SS Mac Admin is a technical blog covering real-world enterprise Mac management — from PowerShell automation to compliance frameworks. Everything here is open source and shared openly with the community.


About & Contact