Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I know it returns an array of user profiles but how do I see what fields are on the profile so that I can maniplaute it.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You can create a variable and populate it with the ProfileManager.GetEnumerator() and then select the properties you are looking for.

Something like:

$profiles = $profilemanager.GetEnumerator()
$profiles | Select DisplayName, JobTitle
share|improve this answer

it returns an IEnumerator that can be used to iterate through all profiles.

It only ever seems to return a capped number of items, 200 apparently, when there are supposed to be over 1,000 user profiles imported from AD

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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