Microsoft 365 Endpoint AdministratorManage devices and apps (55-60%)Medium

A Microsoft 365 Endpoint Administrator needs to deploy a custom PowerShell script to all corporate-owned Windows 11 devices to perform a specific system cleanup task. The script should run with system privileges and only once. Which Intune feature should the administrator use?

  1. AWin32 app deployment
  2. BDevice configuration profile (Custom OMA-URI)
  3. CScripts policy
  4. DMicrosoft 365 Apps policy
Show answer & explanation

Correct answer: C. Scripts policy

Intune's 'Scripts' policy is specifically designed for deploying and running PowerShell scripts on Windows devices, allowing configuration for execution context (user/system) and frequency.

Why the other options are wrong

  • A. Win32 app deployment is for installing applications, not for running standalone scripts.
  • B. While OMA-URI can configure many settings, PowerShell scripts have a dedicated, more robust feature.
  • D. This is for deploying and managing Microsoft Office applications.

Intune PowerShell Script Deployment

A feature in Microsoft Intune that allows administrators to deploy and execute custom PowerShell scripts on managed Windows devices.

  • Scripts can be configured to run in user or system context.
  • Execution frequency (once, periodically) can be defined.
  • Provides reporting on script execution status.

Memory trick: Scripts are for scripts, apps for apps.

More Manage devices and apps (55-60%) questions