CmdID / PowerShell / Cmdlets / New
New-WebApplication
Creates an IIS web application. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-ApplicationPoolSpecifies the name of the application pool in which the new web application runs.-ForceForces the creation of the application without prompting for user confirmation.-NameSpecifies the name of the web application to create.-PhysicalPathSpecifies the physical path to the web application files.-SiteSpecifies the name of the site on which this cmdlet creates an application.