Schlagwort-Archive: powershell

different WepApplications in one AppPool


currently i am installing SharePoint and we would like to handle more than one WebApplication within one ApplicationPool.

This is an easy task using the Gui, but we will use the PowerShell to do so.

The general PowerShell cmdlet ist as follows:
New-SPWebApplication -ApplicationPool <String> -Name <String> [-AdditionalClaimProvider <SPClaimProviderPipeBind[]>] [-AllowAnonymousAccess <SwitchParameter>] [-ApplicationPoolAccount <SPProcessAccountPipeBind>] [-AssignmentCollection <SPAssignmentCollection>] [-AuthenticationMethod <String>] [-AuthenticationProvider <SPAuthenticationProviderPipeBind[]>] [-Confirm [<SwitchParameter>]] [-DatabaseCredentials <PSCredential>] [-DatabaseName <String>] [-DatabaseServer <String>] [-HostHeader <String>] [-Path <String>] [-Port <UInt32>] [-SecureSocketsLayer <SwitchParameter>] [-ServiceApplicationProxyGroup <SPServiceApplicationProxyGroupPipeBind>] [-SignInRedirectProvider <SPTrustedIdentityTokenIssuerPipeBind>] [-SignInRedirectURL <String>] [-Url <String>] [-WhatIf [<SwitchParameter>]]
All Switches are documented here:
In case, that you would like to install more than one WebApplication in one ApplicationPool you have to skip the switch and value for „ApplicatioPoolAccount“.

Thats it, sometimes things are easy 🙂