Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docset/winserver2012-ps/webadministration/New-WebBinding.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ This command creates a binding on the default website.
### Example 2: Add a new SSL site binding
```powershell
PS C:\> New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 443 -HostHeader "TestSite" -Protocol "https"
PS C:\> (Get-WebBinding -Name "Default Web Site" -Port 443 -Protocol "https").AddSslCertificate("a909502dd82ae41433e6f83886b00d4277a32a7b", "my")
```

This command creates an SSL binding on the default website.
This command creates an SSL binding on the default website and adds a certificate with thumbprint `a909502dd82ae41433e6f83886b00d4277a32a7b` from the computer certificate store.

## PARAMETERS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ This command creates a binding on the default website.
### Example 2: Add a new SSL site binding
```powershell
PS C:\> New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 443 -HostHeader "TestSite" -Protocol "https"
PS C:\> (Get-WebBinding -Name "Default Web Site" -Port 443 -Protocol "https").AddSslCertificate("a909502dd82ae41433e6f83886b00d4277a32a7b", "my")
```

This command creates an SSL binding on the default website.
This command creates an SSL binding on the default website and adds a certificate with thumbprint `a909502dd82ae41433e6f83886b00d4277a32a7b` from the computer certificate store.

## PARAMETERS

Expand Down
3 changes: 2 additions & 1 deletion docset/winserver2016-ps/webadministration/New-WebBinding.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ This command creates a binding on the default website.
### Example 2: Add a new SSL site binding
```powershell
PS C:\> New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 443 -HostHeader "TestSite" -Protocol "https"
PS C:\> (Get-WebBinding -Name "Default Web Site" -Port 443 -Protocol "https").AddSslCertificate("a909502dd82ae41433e6f83886b00d4277a32a7b", "my")
```

This command creates an SSL binding on the default website.
This command creates an SSL binding on the default website and adds a certificate with thumbprint `a909502dd82ae41433e6f83886b00d4277a32a7b` from the computer certificate store.

## PARAMETERS

Expand Down
3 changes: 2 additions & 1 deletion docset/winserver2019-ps/webadministration/New-WebBinding.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ This command creates a binding on the default website.
### Example 2: Add a new SSL site binding
```powershell
PS C:\> New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 443 -HostHeader "TestSite" -Protocol "https"
PS C:\> (Get-WebBinding -Name "Default Web Site" -Port 443 -Protocol "https").AddSslCertificate("a909502dd82ae41433e6f83886b00d4277a32a7b", "my")
```

This command creates an SSL binding on the default website.
This command creates an SSL binding on the default website and adds a certificate with thumbprint `a909502dd82ae41433e6f83886b00d4277a32a7b` from the computer certificate store.

## PARAMETERS

Expand Down
3 changes: 2 additions & 1 deletion docset/winserver2022-ps/webadministration/New-WebBinding.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ This command creates a binding on the default website.
### Example 2: Add a new SSL site binding
```powershell
PS C:\> New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 443 -HostHeader "TestSite" -Protocol "https"
PS C:\> (Get-WebBinding -Name "Default Web Site" -Port 443 -Protocol "https").AddSslCertificate("a909502dd82ae41433e6f83886b00d4277a32a7b", "my")
```

This command creates an SSL binding on the default website.
This command creates an SSL binding on the default website and adds a certificate with thumbprint `a909502dd82ae41433e6f83886b00d4277a32a7b` from the computer certificate store.

## PARAMETERS

Expand Down