Add a user to a SharePoint group using PowerShell

It’s fairly easy to add a user to a SharePoint group using the New-SPUser command.  All you need to know is the URL of the site, the name of the user and the group they are to become a member of.  I used the command below to add a domain user account to the WebbWorld Portal Owners group:

New-SPUser -UserAlias “WebbWorld\Dave.Webb” -Web “http://intranet” -Group WebbWorld Portal Owners”

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]