Day: October 23, 2015

  • Create claims-based web application from SharePoint PowerShell

    Creating claims-based web application is more flexible with SharePoint PowerShell script than CA. Here, the snippet for http and ssl site. Add-PSSnapin Microsoft.SharePoint.Powershell $ap = New-SPAuthenticationProvider New-SPWebApplication -Name <Name> -ApplicationPool <ApplicationPool> -ApplicationPoolAccount <ApplicationPoolAccount> -URL <URL> -Port <Port> -AuthenticationProvider $ap # <Name> is the name of the new web application that uses claims-based authentication. # <ApplicationPool>…