In this video our "Endpoint Management Team Member" demonstrates a script that allows an SCCM administrator to create a “Device Collection” using a list of users from a text file as input. The script also supports active directory groups or a user collection. This PowerShell script uses the “User Device Affinity” feature in SCCM to determine which device belongs to which user.
![](https://i.ytimg.com/vi/MVgZgogSeW8/maxresdefault.jpg)