SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.