manage_intune_scripts
Manage Intune PowerShell scripts, proactive remediations, and macOS shell scripts. List, get, create, update, delete, assign, and check device run status.
Instructions
Manage Intune PowerShell scripts, proactive remediations and macOS shell scripts.
script_type: powershell | remediation | macos
action values: list — List scripts (script_type) get — Get script details (script_id, script_type) create — Upload a new script (body, script_type) update — Update a script (script_id, body, script_type) delete — Delete a script (script_id, script_type, confirm=True) assign — Assign a script to groups (script_id, body, script_type) get_status — Device run states for a script (script_id, script_type)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| body | No | ||
| action | Yes | ||
| confirm | No | ||
| script_id | No | ||
| script_type | No | powershell |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||