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

Why EdgeUpdater Won't Stop Asking for Permission — and How to Fix It

Deepdive in troubleshooting!

Simplified Setup for PSSO with Intune

This changes everything

macOS Firewall in Intune: The Compliance Policy Enforcement Trap

Burning down the house

DDM, Intune and You

All you need to know about DDM

Meet Apple Business

Good bye ABM

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