SYNOPSIS
Connects to Rubrik and creates new vCenter connection
SYNTAX
UserPassword
Copy New-RubrikVCenter -Hostname <String> -Username <String> -Password <SecureString> [-Server <String>]
[-id <String>] [-api <String>] [<CommonParameters>]
Credential
Copy New-RubrikVCenter -Hostname <String> -Credential <Object> [-Server <String>] [-id <String>] [-api <String>]
[<CommonParameters>]
DESCRIPTION
The New-RubrikVCenter cmdlet will creates new vCenter connection on the system. This does require authentication.
EXAMPLES
EXAMPLE 1
Copy New-RubrikVCenter -hostname "test-vcenter.domain.com"
This will creates new vCenter connection to "test-vcenter.domain.com" on the current Rubrik cluster
PARAMETERS
-Hostname
Hostname (FQDN) of your vCenter Server
Copy Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Username
Username with permissions to connect to the vCenter Optionally, use the Credential parameter
Copy Type: String
Parameter Sets: UserPassword
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Password
Password for the Username provided Optionally, use the Credential parameter
Copy Type: SecureString
Parameter Sets: UserPassword
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Credential
Credentials with permission to connect to the vCenter Optionally, use the Username and Password parameters
Copy Type: Object
Parameter Sets: Credential
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Server
Rubrik server IP or FQDN
Copy Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $global:RubrikConnection.server
Accept pipeline input: False
Accept wildcard characters: False
-id
ID of the Rubrik cluster or me for self
Copy Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-api
API version
Copy Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $global:RubrikConnection.api
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
OUTPUTS
NOTES
Adapted by Adam Shuttleworth from scripts by Chris Wahl for community usage