Create a classic-mode web application by using PowerShell
Use the procedure in this section to create a new classic-mode SharePoint Server web application using PowerShell.
To create a classic-mode web application by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running PowerShell cmdlets.
You must read about_Execution_Policies.
From the PowerShell command prompt, type the following:
New-SPWebApplication -Name
-ApplicationPool
-AuthenticationMethod
-ApplicationPoolAccount
-Port -URL
https://docs.microsoft.com/en-us/sharepoint/security-for-sharepoint-server/create-claims-based-web-applications