Create new web application using PowerShell

New-SPWebApplication -Name "Name Of the WebApplication" -ApplicationPool "Name of the Application Pool" -AuthenticationMethod "NTLM" -ApplicationPoolAccount (Get-SPManagedAccount "DOMAIN\UserName") -Port 777 -URL "Url of the Webapplication"

Comments

Popular posts from this blog

IRM and the Object Model

This content database has a schema version which is not supported in this farm

Activate and Deactivate Feature through PowerShell