The following script will iterate through all the user profilesĀ and return the account name. Add-PSSnapin microsoft.sharepoint.powershell; #Load SharePoint User Profile assemblies [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles") #Get Context $serviceContext = Get-SPServiceContext -Site "[Site Name]" #Instantiate User Profile Manager $userProfileConfigManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($serviceContext); #Get All User Profiles $profiles = $userProfileConfigManager.GetEnumerator(); #Loop through all user profiles and display account name... Continue Reading →
SharePoint 2010: Standard User Profile Properties
Recently I was asked by one of our developers to provide a list of the standard user properties; this took a bit of time to dig up, as the planning document is 300+ pages. So to save a bit of time in the future I thought I would replicate this information here. User Profile property... Continue Reading →