SharePoint Learnings

Home » Powershell » SharePoint 2010 » SharePoint: Setup claims authentication through PowerShell

SharePoint: Setup claims authentication through PowerShell

Nadeem Yousuf February 05, 2012 Powershell, SharePoint 2010

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.ProvisionGlobally()
iisreset

Share this

Share on FacebookTweet on TwitterPlus on Google+
« Prev Post
Next Post »

Search This Blog

profile for Nadeem Yousuf at SharePoint Stack Exchange, Q&A for SharePoint enthusiasts

Popular Posts

  • SharePoint: Get Files from folder using JavaScript client object model
    The example below uses  SP . CamlQuery ()  to get items by setting  set_folderServerRelativeUrl  .  <script type = "text/javascri...
  • SharePoint 2010 Content Query webpart
    Content Query webpart series: Part 1: SharePoint 2010 Content Query webpart Part 2:  CQWP PageQueryString and PageFieldValue Part 3:  CQ...
  • SharePoint Hide a list field based on user group
    A field in a SharePoint list form like NewForm.aspx or EditForm.aspx can be easily hidden by using the following Jquery statements. Assume ...
  • SharePoint: JQuery Full Calendar
    In one of our recently concluded O365 SharePoint Online projects, we needed to aggregate events present in Calendar lists spanning multiple...
  • SharePoint: Special characters in REST query filter statement
    A few days back Sandeep mailed me about issues in SharePoint 2010 Autocomplete Lookup Field . The Autocomplete field was not working prop...
  • SharePoint: REST API Calls uisng C#
    The code example shows how to make SharePoint REST API GET calls in C# using HttpWebRequest. The sample code assumes that the SharePoint Li...
  • SharePoint: Using deferreds/Promises Or Callbacks in Javascript client object model
    We know that SharePoint JavaScript client object model is asynchronous. However, sometimes we want to process things in synchronous way. Th...
  • SharePoint Content By Query Webpart PageQueryString and PageFieldValue
    Content Query webpart series: Part 1:  Configuring SharePoint 2010 CQWP Part 2: CQWP PageQueryString and PageFieldValue Part 3:  CQWP XS...
  • SharePoint 2013: Recurring Calendar Events
    I have been working on aggregating calendar events from different calendar lists present in different sub sites of a site collection and su...
  • SharePoint: Export Version History of SharePoint 2010 List items
    Project Description Export version history can be used to export the version history of SharePoint 2010 List items to Microsoft Excel. It...

Copyright © 2018 SharePoint Learnings | Template By HAFID Notes | Distributed By Blogger Templates