Networking / Security · Risk: High · Documentation Verified
Last verified: 2026-10-26
Microsoft NetworkController reference: Sets a network controller cluster. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Use an account with the target resource permissions documented for Set-NetworkControllerCluster. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Supported environments
Windows / NetworkController · Windows Server 2025 documentation; feature/module prerequisites apply
Parameters
-CertificateThumbprint
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.
-ComputerName
Specifies the name of the network controller node on which this cmdlet operates.
-Confirm
Prompts you for confirmation before running the cmdlet.
-Credential
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.
-CredentialEncryptionCertificate
Specifies the certificate that is used to encrypt the credentials used to access the Network Controller binaries on disk and *LogLocationCredential* parameter. You must specify this parameter if you specify the *LogLocationCredential* parameter.
-EnableAutomaticUpdates
Specifies whether to enable automatic updates for the cluster.
-Force
Forces the command to run without asking for user confirmation.
-ManagementSecurityGroup
Specifies the security group for users that have permission to run the network controller deployment cmdlets. You must specify this parameter if the cluster uses Kerberos authentication.
-PassThru
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
-UseSsl
Indicates that the remote computer 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.
-UseSubjectNameForNodeCert
Specifies whether to use the subject name for the node certificate.
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Prerequisites
Windows with the NetworkController module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
Security considerations
This cmdlet changes system state. Review every target and parameter in the official reference, test outside production, and prepare an appropriate backup or rollback. Do not execute the example automatically.
Examples
Example 1: Change the management security group for cluster authentication
This command changes the management security group for cluster authentication to Contoso\NCUsers. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.