Create a claims base sharepoint sitecollection

NOTE: We are assuming application pool already exists
$ap = New-SPAuthenticationProvider -UseWindowsIntegratedAuthentication -DisableKerberos
 
New-SPWebApplication -Name "Contoso Portal"
    -ApplicationPool "Default SharePoint Web Apps"
    -HostHeader portal.contoso.com -Port 80 -Url http://portal.contoso.com
    -AuthenticationMethod NTLM -AuthenticationProvider $ap
    -DatabaseName "WSS_Content_Portal"

Comments

Popular posts from this blog