次の方法で共有


New-NlbClusterIpv6Address

New-NlbClusterIpv6Address

Generates an IPv6 address to use with the Network Load Balancing (NLB) cmdlets.

Syntax

Parameter Set: Default
New-NlbClusterIpv6Address [[-HostName] <String> ] [-InterfaceName] <String> [-Global] [-LinkLocal] [ <CommonParameters>]

Detailed Description

The New-NlbClusterIpv6Address cmdlet generates IPv6 addresses to create cluster virtual IP addresses or node dedicated IP addresses.

Parameters

-Global

Returns only a global IPv6 address. If this parameter is omitted, then all applicable IPv6 address types are returned.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-HostName<String>

Specifies the name of the cluster host against which this cmdlet is run. If this parameter is omitted or a value of . is entered, then the local cluster is assumed.

Aliases

hn

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InterfaceName<String>

Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LinkLocal

Returns only a link local IPv6 address. If this parameter is omitted, then all applicable IPv6 address types are returned.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.String

Examples

EXAMPLE 1

This example returns the applicable IPv6 addresses to be used with the interface named vlan-3 on the local machine. This address can be used as a dedicated IP address on the node or a virtual IP address on the cluster.

PS C:\> New-NlbClusterIpv6Address -InterfaceName vlan-3

Add-NlbClusterNodeDip

Add-NlbClusterVip

New-NlbCluster