Powershell

Create new web application using powershell sharepoint 2010/2013

-Create new web apps using power shell

$ap = New-SPAuthenticationProvider -UseWindowsIntegratedAuthentication -DisableKerberos

New-SPWebApplication -Name "SharePoint SQL FBA" -Port 80 -HostHeader "dev.sp.com" -URL "http://dev.sp.com" -ApplicationPool "dev.sp.com80" -ApplicationPoolAccount "Domain\sp_farm" -AuthenticationMethod NTLM -AuthenticationProvider $ap -DatabaseName "WSS_DBname"

No comments:

Post a Comment