Skip to main content

Deploying PowerShell Scripts

Run PowerShell scripts on managed Windows devices through Intune.

Video

Key Points

  • Scripts can run in system context or user context.
  • Scripts run once by default — use the Intune Management Extension to re-run.
  • Proactive Remediations allow detection + remediation script pairs that run on a schedule.

Use Cases

  • Set registry keys not available in the Settings Catalog.
  • Install software that requires custom logic.
  • Gather device inventory beyond what Intune reports natively.