Showing posts with label PowerShell. Show all posts
Showing posts with label PowerShell. Show all posts

Monday, May 14, 2012

Setup claims authentication through PowerShell

Following script updates the web application to use Claims based authentication:

$webApplicationUrl = "http://intranet"
$webapp= Get-SPWebApplication $webApplicationUrl
$webapp.UseClaimsAuthentication
$webapp.UseClaimsAuthentication=$True
$webapp.Update()
$webapp.ProvisionGl

Monday, February 20, 2012

PowerShell

If you would like a complete listing of the cmdlets:

Get-Command -module Microsoft.SharePoint.PowerShell | format-table name > textfilename.txt