New-SCLoadBalancerProtocol

Creates a load balancer protocol object that is used when you create a load balancer virtual IP.

Description

The New-SCLoadBalancerProtocol cmdlet creates a load balancer protocol object that is used when you create a load balancer virtual IP.

For information about creating a load balancer virtual IP, type: "Get-Help New-SCLoadBalancerVIP -detailed".

For more information about New-SCLoadBalancerProtocol, type: "Get-Help New-SCLoadBalancerProtocol -online".

Parameters

Name

Required? true
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

Name

Required? true
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

HTTPSCertificateSubjectName

Required? false
Accept Pipeline Input? false
Position? named
Specifies the subject name property of the certificate used to terminate the HTTPS connection at the load balancer.

Example format: C=US,ST=WA,L=Redmond,O=Contoso,OU=Test,CN=www.contoso.com/emailAddress=contoso@contoso.com

HTTPSReencryptConnection

Required? false
Accept Pipeline Input? false
Position? named
Indicates whether a load balancer should re-encrypt traffic to the server after it has terminated an HTTPS connection.

TerminateHTTPS

Required? false
Accept Pipeline Input? false
Position? named
Indicates whether HTTPS traffic is terminated at the load balancer. If set to $True, a certificate subject name must be provided.

Examples

1: Create an HTTPS load balancer protocol object.
PS C:\> $LBProtocol = New-SCLoadBalancerProtocol -Name HTTPS -HTTPSCertificate "C=US,ST=WA,L=Redmond,O=Contoso,OU=Test,CN=www.contoso.com/emailAddress=contoso@contoso.com" -HTTPSReencryptconnection $True -TerminateHTTPS $True
This command creates a load balancer protocol object specifying that HTTPS terminates at the load balancer and that the load balancer re-encrypts the connection to the server. The command then stores the object in the $LPProtocol variable.

See Also