hi Guys
Im trying to create a new object in order to give my vds lacp support and create lags etc via command line
Im not having any luck - any ideas ?
#Connect to vCenter
Write-Verbose "Connecting to vCenter"
$server = Connect-VIServer $vCenter -credential $(get-credential)
$s = Get-VDSwitch $VDS
$vds_view = get-view $s.id
$dvsconfig = New-Object VimApi_55.VMwareDVSFeatureCapability
$dvsconfig.lacpCapability = New-Object VMware.Vim.VMwareDvsLacpCapability
$dvsconfig.lacpCapability.lacpSupported = 'true'
$vds_view.UpdateDvsCapability($dvsconfig)
Thanks