Editar

Compartir a través de


Get-RemoteAccessLoadBalancer

Displays load balanced cluster settings.

Syntax

Get-RemoteAccessLoadBalancer
   [-ComputerName <String>]
   [-Brief]
   [[-EntrypointName] <String>]
   [-CimSession <CimSession[]>]
   [-ThrottleLimit <Int32>]
   [-AsJob]
   [<CommonParameters>]

Description

The Get-RemoteAccessLoadBalancer cmdlet displays the following:

-- A list of servers in the cluster.

-- The status of each server.

-- The VPN IP address range for each server, if VPN is enabled.

-- A list of the internal and external virtual IP addresses (VIPs) in the cluster.

-- The status of the third-party load balancer.

Examples

EXAMPLE 1

PS C:\>Get-RemoteAccessLoadBalancer -EntryPointName Edge1_Site
NlbNodeStatus               : edge.corp.contoso.com

ThirdPartyLoadBalancer      : Disabled

InternetVirtualIPAddress    : {131.107.0.2/255.255.255.0}

InternalVirtualIPAddress    : {2006:2005:1::2/64}

This example retrieves the NLB status of the site named Edge1_Site.

Parameters

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Brief

Indicates that the cmdlet suppresses retrieving node status. If you specify this parameter, the cmdlet returns only the host name of each node.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CimSession

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Type:CimSession[]
Aliases:Session
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ComputerName

Specifies the IPv4 or IPv6 address, or host name, of the server on which the cmdlet runs.

Type:String
Aliases:Cn
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EntrypointName

Specifies the name of the entry point in the multi-site deployment for which the load balancing configuration should be retrieved.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ThrottleLimit

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

CimInstance

CimInstance

The Microsoft.Management.Infrastructure.CimInstance object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (#) provides the namespace and class name for the underlying WMI object.

The RemoteAccessLoadBalancer object consists of the following properties:

The list of nodes in the cluster and the following properties for each node:

-- IPv4 or IPv6 address or host name of the node.

-- The load balancing status of each node.

-- IPv4 address ranges configured on each node for the VPN static pool address assignment.

-- Status of third party load balancer: Enabled or Disabled.

-- The list of internet virtual IP addresses.

-- The list of internal virtual IP addresses.