This is the built-in help made by Microsoft for the command 'New-WebApplication', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Creates a new IIS Web application.
New-WebApplication [-Name] <String> [-ApplicationPool <String>] [-Force] [-PhysicalPath <String>] [-Site <String>] [<CommonParameters>]
Creates a new IIS Web application.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287872
<
-------------- EXAMPLE 1: Creating a new web application --------------
IIS:\>New-WebApplication -Name testApp -Site 'Default Web Site' -PhysicalPath c:\test -ApplicationPool DefaultAppPool
This example creates a new Web application named testApp on the Default Web Site. The application files are stored in the C:\Test folder, and the application runs in the
DefaultAppPool application pool.