PowerShell Logo Small

Set-WebBinding



This is the built-in help made by Microsoft for the command 'Set-WebBinding', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Changes a property of an IIS site binding.

SYNTAX


Set-WebBinding [[-Name] <String>] [[-IPAddress] <String>] [[-Port] <UInt32>] [-HostHeader <String>] -PropertyName <String> -Value <String>
[-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-WebBinding [[-Name] <String>] [-BindingInformation] <String> -PropertyName <String> -Value <String> [-Confirm [<SwitchParameter>]]
[-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Changes a property of an existing IIS site binding.



<

RELATED LINKS


REMARKS

<

Examples


-------------- EXAMPLE 1: Changing a Web site binding property --------------

IIS:\>Set-WebBinding -Name 'Default Web Site' -BindingInformation "*:80:" -PropertyName Port -Value 1234



Changes the setting for the Port property for the Default Web Site from 80 to 1234.