views:

201

answers:

1

Hi,

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.

+1  A: 

Check the script I have here which gets all user profile properties - I'm not quite there, but perhaps it will help:

http://stackoverflow.com/questions/3157038/accessing-sharepoint-userprofile-properties-with-powershell-script

dunxd
Thanks, dunxd, I'll take a look at the script.
MagicAndi