< Back

Get-alVcenterObject

Mon Jan 13, 2020 7:36 am

NAME Get-alVcenterObject



SYNOPSIS

Gets Vcenter Connector datacenters





SYNTAX

Get-alVcenterObject [-websession] <Object> [[-configid] <String>] [-vcenter] <String> [[-vcenterpass] <String>]

[-username] <String> [-type] <String> [[-dc] <String>] [[-vmfolder] <String>] [[-name] <String>]

[<CommonParameters>]





DESCRIPTION

Gets Vcenter Connector datacenters





PARAMETERS

-websession <Object>

Existing Webrequest session for ELM Appliance



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-configid <String>

Connector ID



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vcenter <String>

vCenter Hostname



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vcenterpass <String>

Password to authenticate to vcenter



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-username <String>

Username to authenticate to vcenter



Required? true

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-type <String>

Type of object to return



Required? true

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-dc <String>

vCenter Datacenter ID to query



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vmfolder <String>

vCenter folder ID to query



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-name <String>

Name of object to return



Required? false

Position? 9

Default value *

Accept pipeline input? false

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



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



PS C:\\>Get-alVcenterObjectDataCenter -websession $websession -configid $vcenter.pccId -username

$vcenter.pccConfig.userName -vcenter $vcenter.pccConfig.vCenterServer -Verbose















RELATED LINKS