Set-GroupByPrimaryUser
1.1
Synchronizes devices in the target device group based on the primary users in the source user group.
- Adds missing devices.
- Removes devices that no longer belong.
- Updates the group description with the device count.
- Allows filtering by OS type and ownership.
Installation Options
Owners
Copyright
2025 Florian Salzmann. GPL-3.0 license.
Package Details
Author(s)
- Florian Salzmann
Tags
PowerShell Groupmanagement Intune MicrosoftGraph Entra EntraID
Dependencies
This script has no dependencies.
Release Notes
2025-02-26, 1.0: Original published version.
2025-02-26, 1.1: Added noRemove switch to prevent device removal.
FileList
- Set-GroupByPrimaryUser.nuspec
- Set-GroupByPrimaryUser.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.1 (current version) | 12 | 3/3/2025 |
1.0 | 215 | 2/26/2025 |