Updating SharePoint 2010 User Information

Posted on 84 CommentsPosted in PowerShell Scripting, Scripts, SharePoint 2010

One of my clients recently had an issue where a particularly high profile user (CEO) had their title spelled incorrectly in Active Directory; unfortunately the error wasn’t noticed right away and now, despite changing the information in Active Directory, SharePoint was still showing the wrong title in the People Picker when granting the user rights to a Site Collection. Fortunately I had a partial PowerShell script to fix the issue and just needed to only […]

Upgrading User Profile Choice Fields to SharePoint 2010

Posted on 3 CommentsPosted in PowerShell Scripting, Scripts

I’m working on an upgrade (database attach) for a client of mine and I ran into something somewhat unexpected with some User Profile properties – properties that used a choice field in 2007 (fields that allowed the administrator to define a list of values that the user could pick from) were migrated to Managed Term Store based fields when upgraded. At first glance this was pretty cool; the only problem was that, though the field […]

Deploying SharePoint 2010 Solution Package Using PowerShell (Revisited)

Posted on 37 CommentsPosted in PowerShell Scripting, Scripts

If you were at my PowerShell for developers talk at the European SharePoint Best Practices Conference last week then you’ll know that I’ve never been all that happy with how I was approaching Farm Solution deployment, as detailed in an earlier post from sometime last year (Deploying SharePoint 2010 Solution Packages Using PowerShell). So what are some of the issues I have with what I created? Here’s a quick list: There are two functions – […]

Retrieving SharePoint 2010 Feature Activations Using Windows PowerShell

Posted on 3 CommentsPosted in PowerShell Scripting, Scripts

During my PowerShell for Developers presentation in London last week I promised to show and demonstrate a script for retrieving Feature activations; unfortunately I ran out of time and was not able to show this script to the degree that I’d intended so I decided to throw together this blog post. When developing custom Features it is very common to expect that there will need to be some level of update required for those Features. […]