Connect-vRAServer

SYNOPSIS

Connect to a vRA Server

SYNTAX

Username (Default)

Connect-vRAServer -Server <String> [-Tenant <String>] -Username <String> -Password <String>
 [-IgnoreCertRequirements]

Credential

Connect-vRAServer -Server <String> [-Tenant <String>] -Credential <PSCredential> [-IgnoreCertRequirements]

DESCRIPTION

Connect to a vRA Server and generate a connection object with Servername, Token etc

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

Connect-vRAServer -Server vraappliance01.domain.local -Tenant Tenant01 -Username TenantAdmin01 -Password P@ssword -IgnoreCertRequirements

-------------------------- EXAMPLE 2 --------------------------

Connect-vRAServer -Server vraappliance01.domain.local -Tenant Tenant01 -Credential (Get-Credential)

PARAMETERS

-Server

vRA Server to connect to

Type: String
Parameter Sets: (All)
Aliases: 

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

-Tenant

Tenant to connect to

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: Vsphere.local
Accept pipeline input: False
Accept wildcard characters: False

-Username

Username to connect with

Type: String
Parameter Sets: Username
Aliases: 

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

-Password

Password to connect with

Type: String
Parameter Sets: Username
Aliases: 

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

-Credential

Credential object to connect with

Type: PSCredential
Parameter Sets: Credential
Aliases: 

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

-IgnoreCertRequirements

Ignore requirements to use fully signed certificates

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

Management.Automation.PSCredential Switch

OUTPUTS

System.Management.Automation.PSObject.

NOTES