1

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.

1

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
1

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.