Any custom and out-of-the-box feature in SharePoint 2010 is much more successful if it can provide more relevant and personal information to the user who is using it. For example, if I am logged in to the corporate intranet in an overseas company branch, I would like to see personalized, rather than generic information, shown to me in various parts of the site.
User profiles in SharePoint 2010 allow storing personalized of information about the user which can be retrieved by out-of-the-box and custom features. In this recipe, we'll take a look at how you can provision new user profiles on the site which are bound to existing Active Directory user accounts.
At the end of this recipe, you will be all set with the script allowing you to create multiple user profiles on your SharePoint 2010 system.
Assuming you have already set up your virtual development environment as described inChapter 1PowerShell Scripting Methods and Creating Custom Commands, we...