Use the Command Below to create a new SharePoint 2013 web application using SharePoint 2013 Management Shell.
New-SPWebApplication -Name "eCom" -Port 333
-ApplicationPool "eComAppPool" -ApplicationPoolAccount
(Get-SPManagedAccount "SPS2013\spsfarm")