Repair-ClusterNameAccount
Repairs the Cluster Name Account and ensures that the cluster continues to function properly.
Syntax
Repair-ClusterNameAccount
[-Credentials <PSCredential>]
[-Domain <String>]
[-InputObject <PSObject>]
[-Cluster <String>]
[<CommonParameters>]
Repair-ClusterNameAccount
[-Credentials <PSCredential>]
[-Domain <String>]
[-Cluster <String>]
[<CommonParameters>]
Description
The Repair-ClusterNameAccount
cmdlet repairs or updates the Cluster Name Account used for
authentication and authorization on a Failover Cluster. The Cluster Name Account is used to create
Highly Available applications or Virtual Computer Objects (VCOs) in the cluster.
To learn more about cluster accounts in domain environments, see Configuring cluster accounts in Active Directory.
Examples
Example 1
Repair-ClusterNameAccount -Cluster "Cluster01"
This example repairs or updates the Cluster Name Account for the cluster named Cluster01
.
Example 2
$cred = Get-Credential
Repair-ClusterNameAccount -Cluster "Cluster01" -Credentials $cred -Domain "contoso.com"
This example repairs or updates the Cluster Name Account for the cluster named Cluster01
using
the specified credentials and domain. The Get-Credential
cmdlet is used to create a PSCredential
object for the -Credentials
parameter.
Parameters
-Cluster
Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is
.
or it is omitted, then the cmdlet runs on the local cluster.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credentials
Specifies the credentials that this cmdlet uses when it connects to Active Directory Domain Services.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Domain
Specifies the name of the domain in which to repair the cluster name account. This should be the fully qualified domain name (FQDN) of the domain that the cluster is in.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Specifies the cluster name account to repair.
Type: | PSObject |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |