New-WebBinding
New-WebBinding
Adds a binding to a website.
구문
Parameter Set: Default
New-WebBinding [[-Name] <String> ] [-Force] [-HostHeader <String> ] [-IPAddress <String> ] [-Port <UInt32> ] [-Protocol <String> ] [-SslFlags <Int32> ] [ <CommonParameters>]
자세한 설명
The New-WebBinding cmdlet adds a new binding to an existing website.
매개 변수
-Force
Forces the creation of the binding.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-HostHeader<String>
Specifies the host header of the new binding.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-IPAddress<String>
Specifies the IP address of the new binding.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Name<String>
Specifies the name of the website on which this cmdlet creates the new binding.
별칭 |
없음 |
필수 여부 |
false |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Port<UInt32>
Specifies the port for the new binding.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Protocol<String>
Specifies the protocol for the new binding. This protocol is usually HTTP, HTTPS, or FTP.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-SslFlags<Int32>
Indicates what type of certificate and certificate storage the new website supports. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- 0: Regular certificate in Windows certificate storage.
-- 1: SNI certificate.
-- 2: Central certificate store.
-- 3: SNI certificate in central certificate store.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
Example-------------- EXAMPLEExample 1: Adding a new Site site Binding binding --------------site binding
This command creates a binding on the default website.
IIS:\>New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 80 -HostHeader "TestSite"