Uninstall-NetworkControllerCluster

Uninstalls the network controller cluster.

Syntax

Uninstall-NetworkControllerCluster
         [-Force]
         [-ComputerName <String>]
         [-UseSsl]
         [-Credential <PSCredential>]
         [-CertificateThumbprint <String>]
         [-WhatIf]
         [-Confirm]
         [<CommonParameters>]

Description

The Uninstall-NetworkControllerCluster cmdlet uninstalls the network controller cluster. If the network controller application is deployed on top of the cluster, that is also removed.

Examples

Example 1: Uninstall a network controller cluster by name

This command uninstalls the network controller cluster node named. Node1.Contoso.com. If ComputerName is not specified, this cmdlet will remove the network controller cluster on the local computer.

PS C:\> Uninstall-NetworkControllerCluster -ComputerName "Node1.Contoso.com"

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.

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

-ComputerName

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

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

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-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.

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

-Force

Forces the command to run without asking for user confirmation.

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

-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.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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

Inputs

None

Outputs

Object