CmdID

CmdID / PowerShell / Cmdlets / New

New-Website

Creates an IIS website. Windows Server PowerShell reference

From the Windows Server PowerShell reference 10 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

10 in the Windows Server PowerShell reference
-ApplicationPoolSpecifies the application pool in which the new site runs.
-ForceForces the command to run without asking for user confirmation.
-HostHeaderSpecifies the host header of the new site.
-IPAddressSpecifies the IP address of the new site.
-IdSpecifies the ID of the new site.
-NameSpecifies the name of the new site.
-PhysicalPathSpecifies the physical path of the new site.
-PortSpecifies the port of the new site.
-SslIndicates that this cmdlet enables HTTPS binding on the site.
-SslFlagsIndicates what type of certificate and certificate storage the new website supports.