Hi All,
In following post we see discuss how to create web application by using the Power Shell.
Step 1:
Open Management Shell as an Administrator.
Step 2:
Execute below Command
Syntax :
Example:
In following post we see discuss how to create web application by using the Power Shell.
Step 1:
Open Management Shell as an Administrator.
Step 2:
Execute below Command
Syntax :
New-SPWebApplication -Name "WebApplicationName" -Port "WebPort" -Url "WebApplicationUrl" -ApplicationPool "ApplicationPoolName" -ApplicationPoolAccount "ManagedAccountName" -DatabaseName "DatabaseName" -DatabaseServer "DatabaseServer"
Example:
New-SPWebApplication -Name "Sample WebApp Name" -Port "1947" -Url "http://ingns-sp" -ApplicationPool "Sample WebApp Pool" -ApplicationPoolAccount "dns\admin" -DatabaseName "WSS_Content1947" -DatabaseServer "ingns-server"
Note: Change the values as per your farm.
Related Post
SharePoint
- Build Automation (CICD) of WebJob in SharePoint Online
- List view render using JSLink with Fabric UI
- Delete Quick Links using Powershell
- SharePoint Interview Questions and Answers..
- Issues:SharePoint Foundation 2013 Prerequisites installation(off line) on Windows Server2012 R2
- SharePoint Column Field Types
- Alternate to InfoPath Forms in SharePoint
- Get the Items inside the Folder in document Library in SharePoint 2013 using REST API
- SharePoint 2016 [Beta] Release Date
- SharePoint Modal Dailoge to Open Page
- What is Look up Column and how to use in SharePoint 2010,2013
- People Picker Check User Entry and Resolve
- How to Get User Data from AD (Active Directory) in SharePoint Using C#
- History of SHAREpoINt
- How to Create Application Page in SharePoint using Visual Studio 2010,2013
- Retrieve Site Features in SharePoint
- Weather Webpart by using Yahoo Service in Share Point
- Activate Telnet Client in Windows Server
- Navigate to another Page After Clicking on JavaScript Alert
- How to read List Item Version Collection Programmatically
- How to get Worker Process from Command Prompt
- How to Use DataTable.js in SharePoint webpart
- Adding New Link to PromotedActions Delegate Control in SharePoint 2013
- How to Deploy Master Page in Share Point
- Get Role Definition in SharePoint
Powershell
- Delete Quick Links using Powershell
- delete/Add Top Navigation Links using Powershell
- Get CheckedOut Files from SharePoint 2013 and MOSS2007
- PowerShell::Get Content Database Size in SharePoint
- PowerShell :: Delete All List Items
- Powershell :: Apply Master Page to all sub sites under site collection
- Get Site Collections specific to a Content Database and Export to CSV
- Remove-SPSite 0x80070003 - Forcely delete Site Collection that cannot be deleted
- Check Whether PowerShell Process is 32-bit or 64-bit?
- How to send Email by using Powershell in SharePoint
- Create Site Column Using Power Shell and Server Object Model
- Admin SVC must be running in order to create deployment timer job
- WSP Deployments in SharePoint using Powershell
- Create Site Collection by using Power Shell
- Backup Site Collection/Sub site/List(Library) in Share Point
- Get Site Collection Details using STSADM
- WSP Backup from Central Administration in Share Point
- Deactivate/Delete Site Template through Power shell
0 comments:
Post a Comment