Automate User Provisioning with PowerShell

The built-in SharePoint PowerShell cmdlets enable you to easily manage users across site collections, but the real power of PowerShell is revealed when you combine these with Active Directory management cmdlets.

The most common usage scenario for user provisioning occurs when a new user exists in CompanyABC.com. In this scenario, each new employee must be given an AD account and contributor rights to the SharePoint site at http://portal.companyABC.com.

Here is how a new employee procedure could be automated with PowerShell. Use the following sample code to create a new AD account:

image

To completely automate ...

Get Microsoft SharePoint 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.