Create a New WebApplication Using PowerShell

Open SharePoint Management Shell Or Windows Power-Shell

In this article I am going to Explain on Windows Power-Shell

Open Windows Power-Shell, Add Snapin U just type this Cmdlet Add-PSSnapin "Microsoft.SharePoint.PowrShell".

New We are going to Create New Web application:

New-WebApplcation -ApplicationPool SharePoint-80 -Name sp2013-80 -ApplicationPoolAccount SPDOMSERVER\Administrator -Port 80

If you do not include the port number, a random port number will be assigned.
The first web application created will use port 80.


 


New Web Application is Created but it is a classic Mode .
Every One  rise the question how to change the classic to claims base authentication. Then Simply, ClickHere

Comments

Popular posts from this blog

Search Service Application Error in SP2013

Errors While Importing Site Collection in SharePoint 2013/2010

Deleting Multiple Sub-sites within Site using PowerShell