Sdílet prostřednictvím


Get-SCLoadBalancerVIP

Gets a load balancer VIP object.

Syntax

GlobalList (Default)

Get-SCLoadBalancerVIP
    [[-Name] <String>]
    [-VMMServer <ServerConnection>]
    [-IPAddress <String>]
    [-LoadBalancer <LoadBalancer>]
    [<CommonParameters>]

ByID

Get-SCLoadBalancerVIP
    -ID <Guid>
    [-VMMServer <ServerConnection>]
    [<CommonParameters>]

Description

The Get-SCLoadBalancerVIP cmdlet gets one or more load balancer virtual IP (VIP) objects.

Examples

Example 1: Get a load balancer virtual IP for a specific load balancer

PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.Contoso.com"
PS C:\> Get-SCLoadBalancerVIP -LoadBalancer $LoadBalancer -IPAddress "192.168.0.1"

The first command gets the load balancer object with the address LB01.Contoso.com and stores the object in the $LoadBalancer variable.

The second command gets the load balancer VIP for the load balancer stored in $LoadBalancer with an IP address of 192.168.0.1.

Parameters

-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByID
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IPAddress

Specifies an IPv4 or IPv6 address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GlobalList
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LoadBalancer

Specifies a load balancer object.

Parameter properties

Type:LoadBalancer
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GlobalList
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GlobalList
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a VMM server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

LoadBalancerVIP

This cmdlet returns a LoadBalancerVIP object.