Use PowerShell to Compare SharePoint User Meta Data in User Profile and User Information List
I came across a request on LinkedIn for a PowerShell script that was required to:
- Retrieve all users from the given SharePoint site-collection
- For each user, the script must retrieve the properties are common between "User Profile" and "User Information List"
- If any of the common fields between the two are different, the user name should be outputted, along with the property name and value of the mismatched data.
I though I would post the question to see if anyone could give pointers on 开发者_运维问答the required script.
Thanks, MagicAndi.
Check the script I have here which gets all user profile properties - I'm not quite there, but perhaps it will help:
Accessing Sharepoint UserProfile Properties with Powershell script
精彩评论