Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Get-WebBinding

Windows Server 2012 R2 and Windows 8.1

Get-WebBinding

Gets the bindings on an IIS site.

Syntax

Parameter Set: Default
Get-WebBinding [[-Name] <String> ] [-HostHeader <String> ] [-IPAddress <String> ] [-Port <String> ] [-Protocol <String> ] [ <CommonParameters>]




Detailed Description

The Get-WebBinding cmdlet gets information about the bindings configured on an Internet Information Services (IIS) site, such as protocol and port number.

Parameters

-HostHeader<String>

Specifies the host name for which the binding is configured.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-IPAddress<String>

Specifies the IP address for which the binding is configured.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the site for which this cmdlet returns binding information.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Port<String>

Specifies the port for which the binding is configured.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Protocol<String>

Specifies the protocol for which the binding is configured. The protocol is usually HTTP, HTTPS, or FTP.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get the site bindings of the default website

This command gets the bindings configured on the default website.


IIS:\>Get-WebBinding -Name "Default Web Site"

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft