Mr-Tbone / Intune

Collection of my Intunescripts
27 stars 11 forks source link

Intune-Set-PrimaryUsers.ps1 - SharedDevices #6

Open smoukeria opened 8 months ago

smoukeria commented 8 months ago

We would like to implement the set primary user script, but we have SharedDevices in our environement, therefore devices without Primary user. Is there any possibility to exclude certain devices so the Primary user does not get set?

Mr-Tbone commented 7 months ago

I will see if i can add that possibility. Can probably be done with a similar approach as the attribute for $enrollmentaccounts