PowerShell Logo Small

New-WebBinding



This is the built-in help made by Microsoft for the command 'New-WebBinding', 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.

SYNOPSIS

Adds a new binding to an existing Web site.

SYNTAX


New-WebBinding [[-Name] <String>] [-Force] [-HostHeader <String>] [-IPAddress <String>] [-Port <UInt32>] [-Protocol <String>] [-SslFlags <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Adds a new binding to an existing Web site.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=287874

REMARKS

<

Examples


-------------- EXAMPLE 1: Adding a new Site Binding --------------

IIS:\>New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 80 -HostHeader TestSite



Creates a new binding on the Default Web Site.