Get-NetworkControllerNode

Get-NetworkControllerNode

Gets the network controller node settings.

Syntaxe

Parameter Set: Default
Get-NetworkControllerNode [-CertificateThumbprint <String> ] [-ComputerName <String> ] [-Credential <PSCredential> ] [-Name <String> ] [-UseSsl] [ <CommonParameters>]

Description détaillée

The Get-NetworkControllerNode cmdlet gets the network controller node settings such as the node name, fully qualified domain name (FQDN), IP address, fault domain, representational state transfer (REST) interface of the node, and the node certificate, if applicable.

Paramètres

-CertificateThumbprint<String>

Specifies the digital public key X.509 certificate of a user account that has permission to perform this action. This is the certificate thumbprint of the certificate. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-ComputerName<String>

Specifies the name of the network controller node on which this cmdlet operates.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Credential<PSCredential>

Specifies a user credential that has permission to perform this action. The default is the current user. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Name<String>

Specifies the friendly name of the node for the network controller. If not provided, settings are retrieved for all nodes in the deployment.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-UseSsl

Indicates that the remote machine uses the Secure Sockets Layer (SSL) protocol to establish a connection to the Network Controller node. The default value of this parameter is false. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez  . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.

Sorties

Le type de sortie correspond au type des objets que l'applet de commande émet.

  • This cmdlet returns an object that contains the following fields:
    -- Name of the node
    -- Hostname, FQDN, or IP address of the node
    -- Fault domain of the node
    -- Name of interface to be used for REST operations on the node
    -- Node certificate

Exemples

Example 1: Get all network controller nodes in a deployment

This command gets the network controller node settings for all nodes in the deployment.

PS C:\> Get-NetworkControllerNode

Example 2: Get network controller node settings for a specified node by name

This command gets the network controller node settings for a specific node named Node1.

PS C:\> Get-NetworkControllerNode -Name "Node1"

Rubriques connexes

Add-NetworkControllerNode

Disable-NetworkControllerNode

Enable-NetworkControllerNode

Remove-NetworkControllerNode

Set-NetworkControllerNode