Thursday 25 July 2013

Creating web application in SharePoint 2013 using PowerShell.



 In SharePoint 2013 we have only one option on authentication provider to create a web application.

Because in SP 2013 classic is no more only claims available. The below powershell command will help you on creating web application in SharePoint 2013. It will applicable on SharePoint 2010 as well.


For creating web application in SP 2013


$ap = New-SPAuthenticationProvider



New-SPWebApplication -Name "Shivashankaran" -Port 4224 -URL "https://shivashankaran" -ApplicationPool "SP2013AppPool" -ApplicationPoolAccount (Get-SPManagedAccount "SCS\SHIVA4224") –AuthenticationProvider $ap -SecureSocketsLayer


Change the above command as per your requirement and create a web application. Will share the next step of creating site collection in powershell soon.

No comments:

Post a Comment

Rescan Disk Option Greyed Out | New Disks Not visible on Disk management | Update-HostStorageCache

  Recently I have added several LUN from NetApp Storage to Hyper-V servers. But in the disk management I couldn't see those new LUN. Exi...