1

I want a script who get all users on my sharepoint farm to save information.

Do you have a simple way to get all users and loop foreach on them to get

$userProfile["MainAffiliationSociety"].Value

And

$userProfile["AboutMe"].Value

Thanks !

Best regards.

-1

It seems that you want to set user profile property to all users from your farm.

Microsoft provide ready made script for that.

Update User Profile

Hope it will helpful to you.

And also visit this which will give most of the scripts related to sharepoint and it is authentic as it is given by Microsoft itself

  • Your script is just for one collection, no all farm... – user3426869 Jun 14 '15 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.