Get-Web
Binding
Syntax
Get-WebBinding
[[-Name] <String>]
[-Protocol <String>]
[-Port <String>]
[-IPAddress <String>]
[-HostHeader <String>]
[<CommonParameters>]
Description
The Get-WebBinding cmdlet gets information about the bindings configured on an Internet Information Services (IIS) site, such as protocol and port number.
Examples
Example 1: Get the site bindings of the default website
IIS:\> Get-WebBinding -Name "Default Web Site"
This command gets the bindings configured on the default website.
Optional Parameters
Specifies the host name for which the binding is configured.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies the IP address for which the binding is configured.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies the name of the site for which this cmdlet returns binding information.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies the port for which the binding is configured.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies the protocol for which the binding is configured. The protocol is usually HTTP, HTTPS, or FTP.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |