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}