Skip to content

Get-vRARegionEnumerationvSphere

SYNOPSIS

Retrieve the External Regions Ids for vSphere environment given

SYNTAX

Username (Default)

Get-vRARegionEnumerationvSphere [-HostName <String>] -Username <String> -Password <SecureString>
 [-AcceptSelfSignedCertificate] [<CommonParameters>]

Credential

Get-vRARegionEnumerationvSphere [-HostName <String>] -Credential <PSCredential> [-AcceptSelfSignedCertificate]
 [<CommonParameters>]

DESCRIPTION

Retrieve the External Regions Ids for vSphere environment given

EXAMPLES

EXAMPLE 1

Get-vRARegionEnumerationvSphere -HostName "vc.mycompany.com" -Username "administrator@mycompany.com" -Password  ("cndhjslacd90ascdbasyoucbdh" | ConvertTo-SecureString -AsPlainText -Force) -AcceptSelfSignedCertificate

EXAMPLE 2

Get-vRARegionEnumerationvSphere -HostName "vc.mycompany.com" -Credential (get-credential)  -AcceptSelfSignedCertificate

PARAMETERS

-HostName

vSphere hostname in which this cloud account is created from

Type: String
Parameter Sets: (All)
Aliases:

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

-Username

Username to use when connecting to the vSphere host

Type: String
Parameter Sets: Username
Aliases:

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

-Password

Password to use when connecting to the vSphere host

Type: SecureString
Parameter Sets: Username
Aliases:

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

-Credential

Credential object to connect to the vSphere host with For domain accounts ensure to specify the Username in the format username@domain, not Domain\Username

Type: PSCredential
Parameter Sets: Credential
Aliases:

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

-AcceptSelfSignedCertificate

If set, a self-signed certificate will be accepted

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

System.Switch

OUTPUTS

System.Management.Automation.PSObject

NOTES