devops icon indicating copy to clipboard operation
devops copied to clipboard

Get-AviObjectsByName for pool object only returns first server in pool

Open dalpert-incomm opened this issue 1 year ago • 0 comments

Running these commands (creds assumed):

$AviPool = Get-AviObjectByName -AviSession $AviSession -ObjectType pool -Name 1-TEST-POOL

foreach ($Server in $AviPool.servers) { Write-Host $Server.ip }

When multiple exist, only returns : @{addr=10.20.30.41; type=V4}

dalpert-incomm avatar Oct 31 '24 12:10 dalpert-incomm