Set-NetworkControllerNode
Set-NetworkControllerNode
Sets a node in a network controller cluster.
Sintaxis
Parameter Set: Default
Set-NetworkControllerNode -Name <String> [-CertificateThumbprint <String> ] [-ComputerName <String> ] [-Credential <PSCredential> ] [-NodeCertificate <X509Certificate2> ] [-PassThru] [-RestInterface <String> ] [-UseSsl] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Set-NetworkControllerNode cmdlet changes the settings of a node in a network controller cluster. Use this cmdlet to modify the settings for the interface on which the node listens for representational state transfer (REST) requests, and to set the node certificate.
Parámetros
-CertificateThumbprint<String>
Specifies the digital public key X.509 certificate of a user account that has permission to perform this action. Specify 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 |
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-ComputerName<String>
Specifies the name of the network controller node on which this cmdlet operates.
Alias |
none |
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
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 |
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Name<String>
Specifies the name of a node. This cmdlet updates the settings for the node that you specify.
Alias |
none |
¿Necesario? |
true |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
true(ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-NodeCertificate<X509Certificate2>
Specifies the certificate to use to authenticate a computer. You should only specify this parameter if the cluster uses certificate-based authentication.
Alias |
none |
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-PassThru
Devuelve un objeto que representa el elemento con el que está trabajando. De manera predeterminada, este cmdlet no genera ningún resultado.
Alias |
none |
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-RestInterface<String>
Specifies the name of the interface on the node that receives requests from REST clients.
Alias |
none |
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
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 |
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
none |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
false |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecuta el cmdlet. El cmdlet no se ejecuta.
¿Necesario? |
false |
¿Posición? |
named |
Valor predeterminado |
false |
¿Aceptar la entrada de la canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, vea about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de los objetos que el cmdlet emite.
- This cmdlet returns an object that contains the following fields:
-- Name of the node
-- Hostname, fully qualified domain name (FQDN), or IP address of the node
-- Fault domain of the node
-- Name of interface to use for REST operations on the node
-- Node certificate
Ejemplos
Example 1: Set the REST interface for a network controller node
This command sets the REST interface to Corpnet for the node named Node1.
PS C:\> Set-NetworkControllerNode -Name "Node1" -RestInterface "Corpnet" -PassThru