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.


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

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

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.