Create a New Web Application in SharePoint 2010 using PowerShell

January 3, 2012 — Leave a comment

To add new web application in SharePoint 2010 with PowerShell using New-SPWebApplication

New-SPWebApplication –applicationpool <Application pool name> -name <New App Name>
-applicationpoolaccount <service account> -port <Port Number>

Sample Command Line to create new Web Application in SharePoint 2010 using PowerShell

New-SPWebApplication –applicationpool SharePoint-80 -name SharePoint-80 
–applicationpoolaccount vSharePoint\SPAdmin -port 80

No Comments

Be the first to start the conversation!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s