Intune · What's New
Group exclusions and built-in group targeting for PowerShell scripts on Windows
Microsoft Intune now supports group exclusions and the built-in All Users and All Devices groups for PowerShell script assignments on Windows.
What changed
You can target scripts broadly, then exclude selected groups to keep the assignment focused on the users or devices that need it. This brings script assignments in line with other Intune workloads and gives you more control over deployment scope.
Why it matters
Broad PowerShell script assignments can now exclude selected groups, reducing unintended execution while supporting All Users and All Devices targeting.
Known limitations
- Availability, prerequisites and rollout scope remain authoritative in the linked Microsoft documentation.
Now check
- Review existing PowerShell script inclusion and exclusion groups.
- Pilot All Devices or All Users targeting with an explicit exclusion group.
- Verify execution reports for both included and excluded pilot devices.