Connect-HXCluster Cmdlet
Syntax
Connect-HXCluster [-ClusterIP] <string> [[-Username] <string>] [[-Password] <string>] [-Credential <PSCredential>] [<CommonParameters>]
Description
Connects to the HyperFlex Cluster.
Required Parameters
-ClusterIP <string>
Specify the IP address of the HyperFlex cluster.
Aliases |
-Cluster <string> |
Position? |
0 |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
-Cluster <string>
Specify the IP address of the HyperFlex cluster.
Aliases |
-ClusterIP <string> |
Position? |
0 |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
Optional Parameters
-Credential <PSCredential>
Specify the user credentials for the HyperFlex cluster.
Aliases |
-cred <PSCredential> |
Position? |
Named |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
-cred <PSCredential>
Specify the user credentials for the HyperFlex cluster.
Aliases |
-Credential <PSCredential> |
Position? |
Named |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
-Username <string>
Specify the username for the HyperFlex cluster.
Aliases |
-user <string> |
Position? |
1 |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
-user <string>
Specify the username for the HyperFlex cluster.
Aliases |
-Username <string> |
Position? |
1 |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
-Password <string>
Specify the password for the HyperFlex cluster.
Aliases |
-pwd <string> |
Position? |
2 |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
-pwd <string>
Specify the password for the HyperFlex cluster.
Aliases |
-Password <string> |
Position? |
2 |
Default Value | |
Accept Pipeline Input? |
False |
Accept Wildcard Characters? |
False |
Example
Input
Connect-HXCluster -ClusterIP 10.198.14.227 -Username root -Password abc
Output
10.198.14.227 is connected.
Common Parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see About Common Parameters in the Microsoft PowerShell Core Guide.