< Back

new-AlVcenterConnector

Mon Jan 13, 2020 7:50 am

NAME new-AlVcenterConnector



SYNOPSIS

Creates vCenter Connector configuration





SYNTAX

new-AlVcenterConnector [-websession] <Object> [-name] <Object> [-dc] <Object> [-datastore] <Object> [-hostsystem]

<Object> [-network] <Object> [-folder] <Object> [-connid] <Object> [-vcenterpass] <Object> [-username] <Object>

[-vcenter] <Object> [[-vmtemplate] <Object>] [[-cachesize] <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Creates vCenter Connector configuration





PARAMETERS

-websession <Object>

Existing Webrequest session for ELM Appliance



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-name <Object>

Name of the new connector



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-dc <Object>

vCenter Datacenter id



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-datastore <Object>

vCenter Datastore id



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-hostsystem <Object>

vCenter ESXI hostname id



Required? true

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-network <Object>

vCenter network id



Required? true

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-folder <Object>

vCenter folder id



Required? true

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-connid <Object>

ELM platform connection id



Required? true

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vcenterpass <Object>

vCenter password to authenticate



Required? true

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-username <Object>

vCenter username to authenticate



Required? true

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vcenter <Object>

vCenter hostname



Required? true

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vmtemplate <Object>

vCenter template id to use



Required? false

Position? 12

Default value

Accept pipeline input? false

Accept wildcard characters? false



-cachesize <Object>

Cache size for connector (GB)



Required? false

Position? 13

Default value 250

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<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:\\>$Params = @{



Name = "MyconnectorTest"

DC = $dc

DATASTORE = $datastore

HOSTSYSTEM = $hostvar

NETWORK = $network

FOLDER = $folder

CONNID = $type.Id

VMTEMPLATE = $template

CACHESIZE = "250"

}



new-AlVcenterConnector -websession $websession -username $usernamevc -vcenter $vcentername -vcenterpass

$vcenterpassword @params











RELATED LINKS